Ash.Query.Function.FromNow (ash v3.5.24)
View SourceAdds the given interval or Duration from the current time in UTC.
For example: expires_at < from_now(7, :day) expires_at < from_now(Duration.new!(day: 7))
Documentation + available intervals inspired by the corresponding ecto interval implementation
Summary
Functions
Callback implementation for Ash.Query.Function.args/0
.
Functions
Callback implementation for Ash.Query.Function.args/0
.