There was an error while loading. Please reload this page.
1 parent de2e90b commit c9a052fCopy full SHA for c9a052f
1 file changed
lib/ash/query/function/range_overlaps.ex
@@ -6,8 +6,9 @@ defmodule Ash.Query.Function.RangeOverlaps do
6
@moduledoc """
7
Returns true if two ranges overlap (share at least one point).
8
9
- Maps to the Postgres range overlap operator `&&`. Used, among other things, to
10
- relate two temporal resources (`range_overlaps(parent(valid_at), valid_at)`).
+ 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
11
+ two temporal resources (`range_overlaps(parent(valid_at), valid_at)`).
12
13
range_overlaps(range1, range2)
14
"""
0 commit comments