W3cubDocs

/CakePHP 4.1

Namespace Cake\Database

Classes summary

  • SqliteCompiler

    Responsible for compiling a Query object into its SQL representation for SQLite

  • TypeFactory

    Factory for building database type classes.

  • ValueBinder

    Value binder class manages list of values bound to conditions.

  • 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.

  • IdentifierQuoter

    Contains all the logic related to quoting identifiers in a Query object

  • FunctionsBuilder

    Contains methods related to generating FunctionExpression objects with most commonly used SQL functions.

  • Exception

    Exception for the database package.

  • SqlserverCompiler

    Responsible for compiling a Query object into its SQL representation for SQL Server

  • SchemaCache

    Schema Cache.

  • Connection

    Represents a connection with a database server.

  • Driver

    Represents a database driver containing all specificities for a database engine including its SQL dialect.

  • 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.

  • TypeMap

    Implements default and single-use mappings for columns to their associated types

  • PostgresCompiler

    Responsible for compiling a Query object into its SQL representation for Postgres

  • QueryCompiler

    Responsible for compiling a Query object into its SQL representation

Interfaces summary

  • DriverInterface

    Interface for database driver.

  • ConstraintsInterface

    Defines the interface for a fixture that needs to manage constraints.

  • ExpressionInterface

    An interface used by Expression objects.

  • TypedResultInterface

    Represents an expression that is known to return a specific type

  • StatementInterface

    Represents a database statement. Concrete implementations can either use PDOStatement or a native driver

  • TypeInterface

    Encapsulates all conversion functions for values coming from a database into PHP and going from PHP into a database.

Traits summary

© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.1/namespace-Cake.Database.html