Skip to content

v0.3.4

Compare
Choose a tag to compare
@co0lc0der co0lc0der released this 07 Oct 09:38
· 54 commits to main since this release

Refactored and added some methods.

  • order_by() now you can use multiple fields for sorting (use a list like ['field1', 'field2 desc'])
  • group_by() now you can use multiple fields for grouping (use a list like ['field1', 'field2'])
  • where() and having() now you can omit the operator = or IN, usage where([['id', 3]]) and where([['id', [10, 11, 12]]])
  • method pluck(key_index, column_index) returns a list of tuples of needed columns