تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4493 أدوات العرض


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
يونيو 20
2765
0
نوفمبر 19
4729
4
أغسطس 19
8163
4
يوليو 19
8964
0
سبتمبر 23
407