Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
jan. 23
7737
1
mrt. 22
5545
1
feb. 22
5670
1
jul. 20
9455
1
jan. 24
14098