View Source Entity.Update (entity v0.1.1)
Link to this section Summary
Functions
Retrieves all database entries from a schema module
Finds the a database entry from a schema module
Retrieves the first database entry from a schema module
Retrieves the last database entry from a schema module
Link to this section Functions
Retrieves all database entries from a schema module
examples
Examples
iex> SchemaModule.all()
[%SchemaModule{}]
iex> SchemaModule.all(query)
[%SchemaModule{}]
Finds the a database entry from a schema module
examples
Examples
iex> SchemaModule.find(id)
%SchemaModule{}
iex> SchemaModule.find!(id)
%SchemaModule{}
Retrieves the first database entry from a schema module
examples
Examples
iex> SchemaModule.first()
%SchemaModule{}
iex> SchemaModule.first(query)
%SchemaModule{}
Retrieves the last database entry from a schema module
examples
Examples
iex> SchemaModule.last()
%SchemaModule{}
iex> SchemaModule.last(query)
%SchemaModule{}