forked from JetBrains/Exposed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JetBrains#623 Add support of window functions in Exposed DSL (JetBrai…
…ns#1651) * JetBrains#623 Add support of window functions in Exposed DSL -Support of partition by and order by clauses -Support of window frame clause (without EXCLUDE) -Factories for common window functions -Support for using aggregate functions as window functions * JetBrains#623 Fix linter warnings * Better name for NthValue class 'index' argument Change argument to 'n' to conform with the most DB docs Co-authored-by: Jocelyne <38375996+joc-a@users.noreply.github.com> * Better name for nthValue function 'index' argument Change argument to 'n' to conform with the most DB docs Co-authored-by: Jocelyne <38375996+joc-a@users.noreply.github.com> * JetBrains#623 Refactor window function definition Window function definitions moved from top-level to ISqlExpressionBuilder to eliminate their irrelevant appearance in code completion. * JetBrains#623 Dump window functions related API changes * JetBrains#623 Fix smart cast warning by replacing not-null assertion with null-safe call * JetBrains#623 remove redundant DatabaseDialect.supportsWindowFunctions This flag was used only in tests. Its value was false only for MySql < 8 which is covered by DatabaseTestsBase.kt Transaction.isOldMySql --------- Co-authored-by: Dmitry Levin <dlevin@anylogic.com> Co-authored-by: Jocelyne <38375996+joc-a@users.noreply.github.com>
- Loading branch information
Showing
10 changed files
with
1,292 additions
and
19 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.