MCPcopy Create free account
hub / github.com/Alex-developer/agsattrack / find

Method find

php/framework/libs/o/lib/Model.php:1521–1570  ·  view source on GitHub ↗

* Find records in the database. * * Finding by the primary key: * * * # queries for the model with id=123 * YourModel::find(123); * * # queries for model with id in(1,2,3) * YourModel::find(1,2,3); * * # finding by pk accepts an options array * YourModel::find(123,array('order' => 'name desc')); * * * Finding by using a conditions array: * *

(/* $type, $options */)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

reloadMethod · 0.95
__callStaticMethod · 0.45
find_by_pkMethod · 0.45

Calls 5

joinFunction · 0.50
tableMethod · 0.45
reverse_orderMethod · 0.45
find_by_pkMethod · 0.45

Tested by

no test coverage detected