Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată


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)


Imagine profil
Abandonează

I think query should be

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

Related Posts Răspunsuri Vizualizări Activitate
0
iun. 20
2765
0
nov. 19
4731
4
aug. 19
8164
4
iul. 19
8964
0
sept. 23
407