View Source Ash.Query.Function.Ago (ash v2.21.12)

Subtracts the given interval from the current time in UTC.

For example: deleted_at > ago(7, :day)

Documentation + available intervals inspired by the corresponding ecto interval implementation

Summary

Functions

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

Functions