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
i kind of wonder if it even makes sense that the condition reads ->condition()->equi('a.category', 'c.uuid') instead of ->condition()->equi('a.category', 'c'). the odm query builder should not use the phpcr level things...
on the phpcr level, i don't know if we can detect this situation - and we probably don't know if its a weak or a hard reference, and those are in different tables. but maybe we can, or can use both tables or something. or find a way to pass hints from phcpr-odm to the phcpr query builder - the performance difference is quite massive.
if you have time to improve some of this, it would be great.
i kind of wonder if it even makes sense that the condition reads ->condition()->equi('a.category', 'c.uuid') instead of ->condition()->equi('a.category', 'c'). the odm query builder should not use the phpcr level things...
->condition()->equi('a.category', 'c') throws Invalid field specification, expected string like "[alias].[field_name]", got "c"
The QueryBuilder
is actual transformed to very slow sql (sqlite 400 ms)
The sql is much more faster with references tables (4 ms):
The text was updated successfully, but these errors were encountered: