Query Builder

class Cake\ORM\Query


The documentation is not currently supported in Russian language for this page.

Please feel free to send us a pull request on Github or use the Improve This Doc button to directly propose your changes.

You can refer to the english version in the select top menu to have information about this page’s topic.

Using SQL Functions

Adding Calculated Fields

Advanced Conditions

Returning the Total Count of Records

Caching Loaded Results

Filtering by Associated Data

Adding Joins

Updating Data