v0.3.4
Refactored and added some methods.
orderBy()
now you can use multiple fields for sorting (use an array like['field1', 'field2 desc']
)groupBy()
now you can use multiple fields for grouping (use an array like['field1', 'field2']
)where()
andhaving()
now you can omit the operator=
orIN
, usagewhere([['id', 3]])
andwhere([['id', [10, 11, 12]]])
- method
pluck($key_index, $column_index)
returns an array of needed columns - method
exists()
returnstrue
if SQL query result has a row