Přejít na obsah
Menu
You need to be registered to interact with the community.
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
Zrušit

I think query should be

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

Related Posts Odpovědi Zobrazení Aktivita
0
čvn 20
2766
0
lis 19
4733
4
srp 19
8167
4
čvc 19
8971
0
zář 23
407