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 types
Implements Identifiable for references of the current type
Implements Insertable
Implements QueryId
Implements Queryable to load the result of statically typed queries
Implements 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