跳至內容
選單
此問題已被標幟


Hello I want to check output of my query result how i can run that query in pycharm terminal. Here is my created query
self._cr.execute("SELECT name FROM res_partner %s", ('%odoo%',))

data = self._cr.fetchall()
print(data)


頭像
捨棄

I think query should be

self._cr.execute("SELECT name FROM res_partner where name ilike %s", ('%odoo%',))

相關帖文 回覆 瀏覽次數 活動
0
6月 20
2765
0
11月 19
4729
4
8月 19
8163
4
7月 19
8964
0
9月 23
407