-
-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(database): add aggregation helpers
* rowsCount * Aggregates - static model count * spacing fix * Finalize aggregates * rename to get * typo * Move to Database layer * formatting fix * formatting fix * Knex refactor * Standard styling * Fix QueryBuilder proxy chaining * add distinct aggregates * Add distinct tests and fix typos * refactor(database): refactor code style * refactor(lucid): add aggregates to model query builder * Revert "Fix QueryBuilder proxy chaining" This reverts commit b5ea8a7. * Added distinct helpers to QueryBuilder * Revert "Added distinct helpers to QueryBuilder" This reverts commit dd164aa. * Revert "Revert "Fix QueryBuilder proxy chaining"" This reverts commit 4a30f68. * Added database test to clarify the need for query wrapping * fix(querybuilder): use new query instance over clone * fix: Added aggregate helper support to BelongsToMany and fixed aggregate query column selection bug re #225 re #205 * fix(Removed _prepareAggregate (unneeded)): re #205 re #226 * style(Spelling fix): * Testing fix * Remove old comment
- Loading branch information
1 parent
01a6fa7
commit 10023f7
Showing
8 changed files
with
630 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.