oscarotero / simple-crud

PHP library to provide magic CRUD in MySQL/Sqlite databases with zero configuration
MIT License
242 stars 58 forks source link

How to use Select with specified Columns only? #50

Closed darkvovich closed 2 years ago

darkvovich commented 2 years ago

This example not working: $db->clients->select()->columns('name')->columns('id AS id_str')->where('id = ', 2)->orderBy('id DESC')->limit(15)->get();