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

Hello,

I'm using Odoo API for my e-commerce website, and I was searching for a "contains" operator for queries, such as (in PHP) :

`

$response = $models->execute_kw( $database, $uid, $password, 'product.template', 'search_read', [[ 'valid_product_attribute_value_ids', 'contains', [1, 2] ]]);

`

Since "valid_product_attribute_value_ids" is an array, and my value too. I know that with Postgresql you have this two options :

"@>" contains

"<@" is contained by

A solution is available for such case ?

Thank you in advance.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يناير 23
9253
1
مارس 22
6441
1
فبراير 22
6523
1
يوليو 20
10255
1
يناير 24
14518