Odoo 10读取和学习调试终端文件

时间:2018-03-21 07:15:04

标签: ubuntu logging odoo odoo-10

我是Linux世界的新手。

有没有资料如何解释Ubuntu终端的调试日志?

例如我从终端登录,登录Odoo 10进程:

    DROP TABLE IF EXISTS D,M,S;
    CREATE TABLE D(DID INT, NAME VARCHAR(20), ADDR VARCHAR(20));
    CREATE TABLE M(DID INT, SID INT);
    CREATE TABLE S(ID INT, NAME VARCHAR(20));

    INSERT INTO D VALUES(1,'AAA',',pUNE,KOTHRUD'),(2,'BAB',',pune,KOTHRUD'),(3,'CCC',',PUNE,,KOTHRUD');
    INSERT INTO M VALUES(1,1),(1,2),(2,1);
    INSERT INTO S VALUES(1,'XXX'),(2,'YYY');

    select CONCAT(D.did, ',', 'tbl_doctors') AS ID ,D.name,(S.name) As spname, D.addr 
    FROM  D 
    LEFT JOIN  M ON D.did = M.did 
    LEFT JOIN  S ON M.sid = S.id 
    WHERE (D.addr LIKE '%Pune%' AND D.addr LIKE '%kothrud%') 
    AND (S.name LIKE "%a%" OR D.name LIKE "%a%") 
    group by D.addr

+---------------+------+--------+---------------+
| ID            | name | spname | addr          |
+---------------+------+--------+---------------+
| 1,tbl_doctors | AAA  | XXX    | ,pUNE,KOTHRUD |
+---------------+------+--------+---------------+
1 row in set (0.00 sec)

现在,我可以在这里理解Odoo对象,但在每个选项之前'u'的含义是什么?

0 个答案:

没有答案