AshNeo4j.Functions.StWithin (AshNeo4j v0.7.0)

Copy Markdown View Source

st_within(a, b) — true if a is contained by b. Argument-flipped st_contains. Mirrors ash_geo / PostGIS ST_Within.

Place
|> Ash.Query.filter(st_within(location, ^search_box))
|> Ash.read!()

evaluate/1 delegates to StContains with arguments swapped. No Cypher pushdown in this slice — the predicate evaluates in memory via Ash.Filter.Runtime. For pushdown shape, use st_contains(^box, location) directly (the pushdown path expects the container property on the LHS).

Summary

Functions

args()

Callback implementation for Ash.Query.Function.args/0.

has_partial_evaluate?()