Skip to Content
मेन्यू
This question has been flagged


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)


Avatar
Discard

I think query should be

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

Related Posts Replies Views Activity
0
जून 20
2766
0
नव॰ 19
4731
4
अग॰ 19
8165
4
जुल॰ 19
8965
0
सित॰ 23
407