[jOOQ/jOOQ#14269] Add support for SQL Server 2022 GREATEST and LEAST
This commit is contained in:
parent
83df64ea82
commit
4ed3be9c74
@ -37,6 +37,7 @@
|
||||
*/
|
||||
package org.jooq.impl;
|
||||
|
||||
// ...
|
||||
import static org.jooq.impl.DSL.function;
|
||||
import static org.jooq.impl.DSL.inline;
|
||||
import static org.jooq.impl.Names.N_GREATEST;
|
||||
@ -94,6 +95,10 @@ final class Greatest<T> extends AbstractField<T> implements QOM.Greatest<T> {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
case DERBY: {
|
||||
GreatestLeast.acceptCaseEmulation(ctx, args, DSL::greatest, Field::gt);
|
||||
return;
|
||||
|
||||
@ -37,8 +37,10 @@
|
||||
*/
|
||||
package org.jooq.impl;
|
||||
|
||||
// ...
|
||||
import static org.jooq.impl.DSL.function;
|
||||
import static org.jooq.impl.DSL.inline;
|
||||
import static org.jooq.impl.Names.N_GREATEST;
|
||||
import static org.jooq.impl.Names.N_LEAST;
|
||||
import static org.jooq.impl.Names.N_MIN;
|
||||
import static org.jooq.impl.Names.N_MINVALUE;
|
||||
@ -94,6 +96,10 @@ final class Least<T> extends AbstractField<T> implements QOM.Least<T> {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
case DERBY: {
|
||||
GreatestLeast.acceptCaseEmulation(ctx, args, DSL::least, Field::lt);
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user