Model
Interfaces, Classes and Traits
- Collection
- This class provides functions to modify and traverse a list of model instances
- Database
- This class provides functionalities to connect to databases
used by the models
- DeletedException
- This exception is thrown, if a model is saved or reloaded after it was deleted
- DuplicateException
- This exception is thrown, if a model is saved and an unique-constraint fails
- InvalidException
- This exception is thrown, if a model is saved but it is invalid
- Model
- This abstract class defines a model, that provides functions to
store and retrieve items to/from a database.
- NotSavedException
- This exception is thrown, if a model is reloaded, but it was not yet saved to the database
- PaginationResult
- This class provides functionalities for the result of a pagination call
- Query
- This class provides a very simple sql query builder for the models.
- ValidationError
- This class represents a validation error