跳至内容
菜单
此问题已终结


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
2768
0
11月 19
4740
4
8月 19
8171
4
7月 19
8978
0
9月 23
407