Ash.Query.Function.RangeOverlaps (ash v3.32.0)

Copy Markdown View Source

Returns true if two ranges overlap (share at least one point).

Maps to the Postgres range overlap operator &&, and answers in an expression what Ash.Range.intersects?/2 answers at runtime. Used, among other things, to relate two temporal resources (range_overlaps(parent(valid_at), valid_at)).

range_overlaps(range1, range2)

Summary

Functions

args()

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

has_partial_evaluate?()