query
It makes a request to the database by the connection set in the config.json file.
Before doing the queries you must be sure that you have ever made the connection through the $this->addConnection("config/connection.json");
command and have enabled the connection inside the config.json file.
void query ( String $_query )
Parameters
Query string.
Return Values
Depends of type of query.
Examples
<?php
$this->query("UPDATE user SET name = 'Bruce' WHERE surname = 'Wayne'");
?>