Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4516 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
led 23
7755
1
bře 22
5566
1
úno 22
5682
1
čvc 20
9466
1
led 24
14110