phpEZ v0.4.0

db

Table of Contents

Classes

Unique
Attribute to mark a database field as UNIQUE.
UniqueMulti
Attribute to create a composite (multi-column) UNIQUE constraint.
Index
Attribute to create a database index on a field.
OnUpdate
Attribute to specify ON UPDATE behavior for a database column.
DbDefault
Attribute to specify a default value for a database column.
NotNull
Attribute to mark a field as NOT NULL in the database.
Foreign
Attribute to create a foreign key constraint on a field.
DataException
Base exception for database operation failures.
DuplicateException
Exception for database constraint violations (e.g., unique, foreign key).
Database
Central database connection manager for PHPEz.
Model
Base ORM model class for database-backed entities.
DBDateTime
DateTime serializer for database operations.

Traits

CachableModel
Trait for models supporting instance caching by ID.
SoftDelete
Trait adding soft-delete support to a Model.

Enums

DbThen
Foreign key constraint actions enum.
SoftDeleteFilter
Filter option for querying soft-deleted rows.
On this page

Search results