コンテンツへスキップ
メニュー
この質問にフラグが付けられました


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
2766
0
11月 19
4733
4
8月 19
8167
4
7月 19
8971
0
9月 23
407