View Source Ash.Query.Function.FromNow (ash v3.0.0-rc.31)

Adds the given interval from the current time in UTC.

For example: expires_at < from_now(7, :day)

Documentation + available intervals inspired by the corresponding ecto interval implementation

Summary

Functions

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

Functions