Ecto.Query.API.from_now
You're seeing just the function
from_now
, go back to Ecto.Query.API module for more information.
Adds the given interval to the current time in UTC.
The current time in UTC is retrieved from Elixir and not from the database.
See Intervals for supported interval
values.
Examples
from a in Account, where: a.expires_at < from_now(3, "month")