Crate diesel_derives
source · [−]Macros
Declare a sql function for use in your code.
Derive Macros
Implements
AsChangeset
Implements all required variants of
AsExpression
Implement required traits for the associations API
Implement numeric operators for the current query node
Implements
Queryable
for primitive typesImplements
Identifiable
for references of the current typeImplements
Insertable
Implements
QueryId
Implements
Queryable
to load the result of statically typed queriesImplements
QueryableByName
for untyped sql queries, such as that one generated
by sql_query
Implements
Selectable
Implement necessary traits for adding a new sql type
Implements
ValidGrouping