Description

mixed getRecords(string $query, mixed $parameters = array(), string $key = null)

Retrieves an associative array or returns null if there were no results

Parameters

string $query
The query to perform.
mixed $parameters = array()
The parameters that will be used in the query.
string $key = null
The field that should be used as key, make sure this is unique for each row.

Return values

mixed - An array containing arrays which represent a record.

Comment