Closed Raruto closed 3 weeks ago
@Raruto following the comparators available:
COMPARATORS_MAP = {
'eq': '=',
'gt': '>',
'lt': '<',
'ltgt': '<>',
'gte': '>=',
'lte': '<=',
'like': 'LIKE',
'ilike': 'ILIKE',
'in': 'IN'
}
So per IN
try with in
(lowercase)
NOT IN
it desn't exist, I'll try to add.
So per IN try with in (lowercase)
@wlorenzetti If feasable, please also add support for case-insensitive operators (http client-side code is not very clear in here).
How it should work in case of multiple values?
OK:
KO: Invalid field string supplied for parameter field
Checklist
Subject of the issue
IN
andNOT IN
clauses appear to be unsupported, same behavior also with v37.Steps to reproduce
POST:
{"field":"name NOT|IN|('Blue%20Palace')","formatter":1}
POST:
{"field":"name|IN|('Blue%20Palace')","formatter":1}
Environment
[g3wsdk.info]
Link to your project
https://v36.g3wsuite.it/vector/api/data/qdjango/97/buildings_2f43dc1d_6725_42d2_a09b_dd446220104a/
Additional info
No response