Traitsยง
- Borrow
Primary Key - Something whose primary key can be borrowed as a distinct type.
- Deletable
BySearch Key - Entities implementing
DeletableBySearchKeycan be deleted by that search key. - Entity
- Something which can be stored in our database.
- Entity
Database Mutation - Extend an
Entitywith db-mutating operations which can be performed when provided with a transaction. - Entity
Delete Borrowed - Extend an
Entitywith db-mutating operations which can be performed when provided with a transaction. - Entity
GetBorrowed - Fetch
From Database - Interface to fetch from the database either from the connection directly or through a transaction.
- KeyType
- A Key Type is a type which can act as a key for a database.
- Owned
KeyType - An owned key type can be converted to from arbitrary bytes.
- Primary
Key - Something which has a distinct primary key which can uniquely identify it.
- Searchable
Entity - Unique
Entity - A unique entity can appear either 0 or 1 times in the database.
- Unique
Entity Ext - Unique entities get some convenience methods implemented automatically.
- Unique
Entity Implementation Helper - Unique entity implementation/migration helper.