Basic role of a model is to execute SQL statement in database. Each Model response by a PHP object and prepare and run sql SQL in database.
Model Object:
App Factory is used to instantiate model object reference and pass value inside it. Following format is used to catch a model.
$Obj = App::Model([Model Name]);
For example:
App::Model('Page')->findAll();
The above example will find all data saved in Page Model and database table link is defined in Page Model Class.
See method list to work with database View Function List