Swiftpack.co - Package - vapor/fluent

Github

link
Stars: 930
Help us keep the lights on

Releases

3.1.3 - Mar 5, 2019

Fixed:

  • Fixed a bug where builder.group(...) calls that don't add any filters could yield an invalid query. (#616)

3.1.2 - Oct 31, 2018

Fixed:

  • QueryBuilder's sort method now supports sorting joined models. (#580)

3.1.1 - Oct 29, 2018

Fixed:

  • Calling update/create/save on a Future<Model> returns the saved model rather than the unwrapped model (#579)

3.1.0 - Oct 17, 2018

New:

  • An optional default parameter has been added to QueryBuilder.sum(_:). This will be used when the result set of the query is zero, instead of throwing an error. (#568, #573, #571)

Fixed:

  • QueryBuilder.sum(_:) now throws a more helpful error message if the result set is empty.

3.0.1 - Oct 10, 2018

Fixed:

  • QueryBuilder.update(_:to:) now correctly sets the updatedAt field if the model supports timestamps. (#565, #566)