A convenient SELECT * function.
public get ( string $tableName, integer | array $numRows = null, string $columns = '*' ) : array | ||
$tableName | string | The name of the database table to work with. |
$numRows | integer | array | Array to define SQL limit in format Array ($count, $offset) or only $count |
$columns | string | Desired columns |
Résultat | array | Contains the returned rows from the select query. |