FIX: #131 (query: "and" in subproperties)
- Jan 31, 2022
-
-
Daniel Hornung authored
-
- Jan 28, 2022
-
-
Timm Fitschen authored
-
Fix for https://gitlab.com/caosdb/caosdb-server/-/issues/131
See also #214 (closed)
The bug consisted of two problems:
FIND ENTITY WITH pname1.x>0 AND ...
the part after the AND
was interpreted as filters on pname1, not on the entity.FIND ENTITY WITH ( pname1.x>0 ) AND ( ... )
everything after the first round bracket until the last round bracket was interpreted as the unit (so the unit was ) AND ( ...
) and the query had only a single filter and the AND was not interpreted as a marker for the conjunction.No special setup required.
For further good practices have a look at our review guidelines.