Module sea_orm::entity [−][src]
Modules
Structs
Enums
Traits
Behaviors for users to override
Wrapper of the identically named method in sea_query::Expr
An Entity implementing EntityTrait
represents a table in a database.
This trait designates that an Enum
can be iterated over. It can
be auto generated using strum_macros
on your behalf.
Functions
Delete an active model by its primary key
Insert the model if primary key is unset, update otherwise. Only works if the entity has auto increment primary key.