The query method in the example last post is a method that I combine with the PDO’s binding feature. If the first parameter is the query, the second parameter is the query. It is the sequence where we will give future values to the places we expressed with (question mark). A more extensive binding example;

<?php
DB::query('SELECT * FROM users WHERE id = ? AND name = ? AND email = ? LIMIT 1', [$id, $name, $email]);
?>