Skip to content

Releases: reinink/advanced-eloquent

v0.2.0

23 Nov 20:35
Compare
Choose a tag to compare
  • Converted all macros to Query\Builder macros. They can now be used with both Eloquent models, or directly via the query builder.
  • Fixed the order bindings, which were not being applied properly.
  • Added an orderBySubAsc macro to compliement the orderBySubDesc macro.
  • Added a validation check to ensure the order sort direction is either "asc" or "desc". This is especially important if this is an unsanitized value.
  • Added the ability to define the null position (NULLS FIRST and NULLS LAST). This is not supported by all databases (ie. MySQL and SQLite), but is supported by PostgreSQL and others.

v0.1.0

22 Nov 18:30
Compare
Choose a tag to compare
  • Initial release