\CakeDatabase

Namespaces

Driver
Exception
Expression
Log
Retry
Schema
Statement
Type

Traits

SqlDialectTrait Sql dialect trait
TypeConverterTrait Type converter trait
TypedResultTrait Implements the TypedResultInterface
TypeMapTrait Trait TypeMapTrait

Interfaces

DriverInterface Interface for database driver.
ExpressionInterface An interface used by Expression objects.
StatementInterface Represents a database statement. Concrete implementations can either use PDOStatement or a native driver
TypedResultInterface Represents an expression that is known to return a specific type
TypeInterface Encapsulates all conversion functions for values coming from a database into PHP and going from PHP into a database.

Classes

Connection Represents a connection with a database server.
Driver Represents a database driver containing all specificities for a database engine including its SQL dialect.
Exception Exception for the database package.
FieldTypeConverter A callable class to be used for processing each of the rows in a statement result, so that the values are converted to the right PHP types.
FunctionsBuilder Contains methods related to generating FunctionExpression objects with most commonly used SQL functions.
IdentifierQuoter Contains all the logic related to quoting identifiers in a Query object
Query This class represents a Relational database SQL Query. A query can be of different types like select, update, insert and delete. Exposes the methods for dynamically constructing each query part, execute it and transform it to a specific SQL dialect.
QueryCompiler Responsible for compiling a Query object into its SQL representation
SchemaCache Schema Cache.
SqliteCompiler Responsible for compiling a Query object into its SQL representation for SQLite
SqlserverCompiler Responsible for compiling a Query object into its SQL representation for SQL Server
Type Encapsulates all conversion functions for values coming from database into PHP and going from PHP into database.
TypeMap Implements default and single-use mappings for columns to their associated types
ValueBinder Value binder class manages list of values bound to conditions.