Expand description
Module for the Entity type and operations
Re-exports§
pub use ActiveValue::NotSet;
Modules§
- Re-export common types from the entity
Structs§
- Defines a Column for an Entity
- Defines a helper to build a relation
- Defines a relationship
Enums§
- Defines a stateful value used in ActiveModel.
- All column types
- List of column identifier
- Defines the type of relationship
- Value variants
Traits§
- A Rust representation of enum defined in database.
- The Rust Value backing ActiveEnums
- A Trait for overriding the ActiveModel behavior
- A Trait for ActiveModel to perform Create, Update or Delete operation. The type must also implement the EntityTrait. See module level docs crate::entity for a full example
- API for working with a
Column
. Mostly a wrapper of the identically named methods insea_query::Expr
- SeaORM’s utility methods that act on ColumnType
- A Trait for mapping an Entity to a database table
- An abstract base class for defining Entities.
- A Trait for implementing a QueryResult
- Ensure the identifier for an Entity can be converted to a static str
- Check the Identity of an Entity
- A Trait for any type that can be converted into an ActiveModel
- Any type that can be converted into an ActiveValue
- Performs a conversion into an Identity
- This trait designates that an
Enum
can be iterated over. It can be auto generated using theEnumIter
derive macro. - A Trait for links between Entities
- A Trait for a Model
- A trait for a part of Model
- How many columns this Primary Key comprises
- How to map a Primary Key to a column
- A Trait for to be used to define a Primary Key.
- Checks if Entities are related
- Defines the relations of an Entity
- A Trait for any type that can be converted into an Model
Functions§
- Defines a set operation on an ActiveValue
- Defines an unchanged operation on an ActiveValue
- Unset
Deprecated Defines an not set operation on an ActiveValue
Type Aliases§
- Action to perform on a foreign key whenever there are changes to an ActiveModel
- Same as RelationDef