コンテンツへスキップ
メニュー
この質問にフラグが付けられました

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
1月 23
7732
1
3月 22
5540
1
2月 22
5668
1
7月 20
9448
1
1月 24
14095