Reads record(s) from the database.
public read ( Model $Model, array $queryData = [], integer $recursive = null ) : mixed | ||
$Model | Model | A Model object that the query is for. |
$queryData | array | An array of queryData information containing keys similar to Model::find(). |
$recursive | integer | Number of levels of association |
리턴 | mixed | boolean false on error/failure. An array of results on success. |