You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…urrent tenant id (#539)
* Multi-tenant issue fix. The list method with parameters is not resolving the current tenant id
See https://github.com/grails/gorm-hibernate5/issues/537
* More tests for first, last and findAll, with the same issue with max parameter
when building a criteria like below the mongo query that gets created is incorrect. the 'or' is ignored completely
def criteria = Class.createCriteria() criteria.list(){ eq("field1", "value1") field2{ isNull("subfield2") } or { field2{ 'in'("subfield2.subsubfield", list) } eq("field3","value3") } }
produces:
{ "$and":[ {"field1":"value1"} {"field2.subfield2":null} {"field2.subfield2.subsubfield":{"$in":["val1","val2","val3","val4"]}} {"field3":"value3"} ] }
The text was updated successfully, but these errors were encountered: