Endon.count
You're seeing just the function
count
, go back to Endon module for more information.
Specs
count(atom() | nil, where_conditions()) :: integer()
Get a count of all records matching the conditions.
You can give an optional column;
if none is specified, then it's the equivalent of a select count(*)
.
conditions
are anything accepted by where/2
(including a Ecto.Query.t/0
).