Settings

Theme

Show HN: Simpler Database Interactions in PHP

github.com

6 points by erusev 10 years ago · 1 comment

Reader

3dfan 10 years ago

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');

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection