W3cubDocs

/CakePHP 3.4

Namespace Cake\Database

Namespaces summary

Class summary

  • Represents a connection with a database server.

  • Represents a database diver containing all specificities for a database engine including its SQL dialect

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

  • Contains methods related to generating FunctionExpression objects with most commonly used SQL functions. This acts as a factory for FunctionExpression objects.

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

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

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

Interface summary

  • An interface used by Expression objects.

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

  • Represents an expression that is known to return a specific type

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

Traits summary

Exception summary

  • Exception for the database package.

© 2005–2017 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/3.4/namespace-Cake.Database.html