Re:Show HN: Simpler Database Interactions in PHP
by 3dfan on Wednesday March 09, 2016 @03:01PM
(#11255383)
I find it harder to read then plain SQL.
You do it like this:
$base->find('user')->whereEqual('is_verified', 1)->orderDesc('id')->read();
I do it like this:
$myDb->find('SELECT * FROM user WHERE is_verified=1 ORDER BY id DESC');