darya/framework

"Cheers" query builder

hexus opened this issue · 2 comments

Something like

$storage->query('users')->where([
    'firstname' => 'Chris'
])->cheers();

Or

$storage->query('users')->update([
    'firstname' => 'Chris',
    'surname'   => 'Andrew'
])->where([
    'id' => 1
])->cheers();

Kicked off by commit f00b8e4.

Made fluent by commit d24bbc1.

Now all that's needed is an implementation that uses these new classes.

Query building through active record models is now a thing!