outdb is the functional mysql framework. A set of functions makes our life simple. Whatever you want mysql to do, do it faster with outdb.
SELECT * FROM `demo`
db("SELECT * FROM `demo`")
Array
(
    [0] => Array
        (
            [id] => 1
            [name] => George
            [email] => info@george.com
            [grade] => 8
        )

    [1] => Array
        (
            [id] => 2
            [name] => Nick
            [email] => info@nick.com
            [grade] => 6
        )

    [2] => Array
        (
            [id] => 3
            [name] => Julia
            [email] => info@julia.com
            [grade] => 10
        )

    [3] => Array
        (
            [id] => 4
            [name] => Jordan
            [email] => jordan@fmail.com
            [grade] => 9
        )

)
SELECT * FROM `demo` WHERE `id` = 1;
db("SELECT * FROM `demo` WHERE `id` = 1 LIMIT 1;")
Array
(
    [id] => 1
    [name] => George
    [email] => info@george.com
    [grade] => 8
)
SELECT `name` FROM `demo` WHERE `id` = 1;
db("SELECT `name` FROM `demo` WHERE `id` = 1 LIMIT 1;")
George
SELECT `name`,`id` FROM `demo` WHERE `id` = 1;
db("SELECT `name`,`id` FROM `demo` WHERE `id` = 1 LIMIT 1;")
Array
(
    [name] => George
    [id] => 1
)