Swiftpack.co - Package - vapor/fluent

Github

link
Stars: 884
Help us keep the lights on

Used By

Total:

Releases

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)

3.0.0 - Jul 17, 2018

Fluent 3.0 is here! 🎉 🖋 Swift ORM framework (queries, models, and relations) for building NoSQL and SQL database integrations.

See the updated documentation for more information: docs.vapor.codes/3.0/fluent/getting-started/

And of course, check out the API docs for detailed information about the public API: api.vapor.codes/fluent/latest/Fluent


Changes since latest RC:

Fixed:

  • Children relation can now be created with let variable. (#532)
  • KeyedCache set will now lookup existing entries first.
  • Removed deprecated methods.