Skip to content

Releases: scalalandio/ocdquery

Scala 2.13 and Doobie 0.8.4

02 Oct 09:08
Compare
Choose a tag to compare
v0.5.0

Scala 2.13, Doobie 0.8.4

Count and Exists methods

12 Aug 21:37
Compare
Choose a tag to compare
  • count filtered rows
  • check if filtered rows are non-empty
  • more build-in filters (IN, BETWEEN, LIKE)
  • various fixes to issues detected during testing

Filtering redesigned

02 Aug 16:31
Compare
Choose a tag to compare

Filtering was redesigned to use power of higer-kinded data more efficiently - instead of a select object that checks if particular field is equal to some value, now we have the option to extend filtering.

Repositories joining functionality

01 Aug 12:17
Compare
Choose a tag to compare
  • repositories can be joined to filter and return tuples of entities
  • fixed bug with limit SQL generation in pagination
  • DefaultColumnNames utility for providing a sane defaults for column names settings
  • repository.emptySelect utility as for creating filters/updates from an empty value and providing only changes

Reworked initial design

21 Jul 12:42
Compare
Choose a tag to compare
  • instead of "obligatory" and "selectable" fields, for simpler cases all fields can be wrapped in the same F[_] - where and set part will be done using different objects in update query instead of one with different roles of particular fields,
  • this way for simple vases you need only one F[_] - another one is needed only when you your create object differs from fetched entity because some fields are generated by database,
  • fetching supports now pagination,
  • queries in Repo are now generated by utilities that can be used by API user as well.

Initial release

19 Jul 21:47
Compare
Choose a tag to compare
  • proof of concept
  • basic CRUD operations