Implementation of

Closes a cursor in the database, freeing up any resources and memory
allocated to it. In most cases you don't need to call this method, as it is
automatically called after fetching all results from the result set.

Returns

Implementation of

Executes the statement by sending the SQL query to the database. It can optionally
take an array or arguments to be bound to the query variables. Please note
that binding parameters from this method will not perform any custom type conversion
as it would normally happen when calling bindValue.

Parameters

array|null
$paramsoptionalnull

list of values to be bound to query

Returns

booleantrue on success, false otherwise

Implementation of

Returns the next row in a result set as an associative array. Calling this function is the same as calling
$statement->fetch(StatementDecorator::FETCH_TYPE_ASSOC). If no results are found false is returned.

Returns

arrayResult array containing columns and values an an associative array or an empty array if no results