CakePHP
  • Documentation
    • Book
    • API
    • Videos
    • Logos & Trademarks
  • Business Solutions
  • Swag
  • Road Trip
  • Team
  • Community
    • Community
    • Team
    • Issues (Github)
    • YouTube Channel
    • Get Involved
    • Bakery
    • Featured Resources
    • Newsletter
    • Certification
    • My CakePHP
    • CakeFest
    • Facebook
    • Twitter
    • Help & Support
    • Forum
    • Stack Overflow
    • IRC
    • Slack
    • Paid Support
CakePHP

C CakePHP 4.0 Strawberry API

  • Overview
  • Version:
    • 4.0
      • 4.0
      • 3.9
      • 3.8
      • 3.7
      • 3.6
      • 3.5
      • 3.4
      • 3.3
      • 3.2
      • 3.1
      • 3.0
      • 2.10
      • 2.9
      • 2.8
      • 2.7
      • 2.6
      • 2.5
      • 2.4
      • 2.3
      • 2.2
      • 2.1
      • 2.0
      • 1.3
      • 1.2

Namespaces

  • Cake
    • Auth
    • Cache
    • Collection
    • Command
    • Console
    • Controller
    • Core
    • Database
      • Dialect
      • Driver
      • Exception
      • Expression
      • Log
      • Retry
      • Schema
      • Statement
      • Type
    • Datasource
    • Error
    • Event
    • Filesystem
    • Form
    • Http
    • I18n
    • Log
    • Mailer
    • Network
    • ORM
    • Routing
    • Shell
    • TestSuite
    • Utility
    • Validation
    • View

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

  • TypeConverterTrait

    Type converter trait

  • TypeMapTrait

    Trait TypeMapTrait

  • SqlDialectTrait

    Sql dialect trait

  • TypedResultTrait

    Implements the TypedResultInterface