getResult()
getResult(string $type = 'object') : mixed
Retrieve the results of the query. Typically an array of individual data rows, which can be either an 'array', an 'object', or a custom class name.
Parameters
string | $type | The row type. Either 'array', 'object', or a class name to use |