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
No, there is no workaround to this. It is related to doctrine syntax checker. See this.
In addition, this issue is probably related to MySQL also because I just checked and PostgreSQL uses index. I actually switched to PostgreSQL due to MySQL's spatial support being so weak.
MySQL expects there to be no literal.
$qb->andWhere("ST_Intersects(node.polygon, mainnode.polygon) = true");
This works but the spacial index wont be used!
And this is not valid dql.
$qb->andWhere("ST_Intersects(node.polygon, mainnode.polygon)");
... Error: Expected Literal, ...
Do you have an idea if that can get fixed? or is there a workaround?
The text was updated successfully, but these errors were encountered: