| Nested spatial functions are not rendered correctly when the nested function contains a statement parameter:
dwithin(geom, srid(:filter, 0), 1) = true
is rendered as
geom.ST_WithinDistance(?.ST_SRID(0), 1) = 1
which leads to a statement parsing error. The expression should be rendered as
geom.ST_WithinDistance(ST_GeomFromEWKB(?).ST_SRID(0), 1) = 1
|