[jOOQ/jOOQ#11719] Add support for TO_DATE() in SQL Server

This commit is contained in:
Lukas Eder 2021-03-29 13:30:52 +02:00
parent 5eccac1744
commit 4a5f64d755
2 changed files with 44 additions and 2 deletions

View File

@ -92,7 +92,28 @@ extends
@Override
public final void accept(Context<?> ctx) {
ctx.visit(function(N_TO_DATE, getDataType(), value, formatMask));
switch (ctx.family()) {
default:
ctx.visit(function(N_TO_DATE, getDataType(), value, formatMask));
break;
}
}

View File

@ -92,7 +92,28 @@ extends
@Override
public final void accept(Context<?> ctx) {
ctx.visit(function(N_TO_TIMESTAMP, getDataType(), value, formatMask));
switch (ctx.family()) {
default:
ctx.visit(function(N_TO_TIMESTAMP, getDataType(), value, formatMask));
break;
}
}