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

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.

Avatar
Discard
Related Posts Replies Views Activity
3
जन॰ 23
7727
1
मार्च 22
5532
1
फ़र॰ 22
5666
1
जुल॰ 20
9447
1
जन॰ 24
14093