- returns data from a free form select query
public query ( string $query, array $params = [], boolean $use_master = false ) : mixed | ||
$query | string | - the SQL query we are executing |
$params | array | - a list of bind parameters |
$use_master | boolean | (Optional) - whether or not to use the master connection |
return | mixed | - the affected rows, false on failure |