Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4514 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 1 23
7752
1
thg 3 22
5563
1
thg 2 22
5679
1
thg 7 20
9466
1
thg 1 24
14109