NyanORM::getAll
Returns all records of current database object instance
Signature
public function getAll([string
$assocByField = '',
[boolean
$flushParams = true,
[boolean
$distinctON = false]]] )
Parameters
$assocByField
— string- field name to automatically make it as index key in results array
$flushParams
— boolean- flush all query parameters like where, order, limit and other after execution?
$distinctON
— boolean- add "DISTINCT" keyword for a "SELECT" clause
Returns
- array