[#4027] Let INSERT statements default to using DEFAULT VALUES when no values are specified
This commit is contained in:
parent
f6d9c8dc85
commit
3d58cbeed9
@ -75,7 +75,10 @@ class FieldMapsForInsert extends AbstractQueryPart {
|
||||
@Override
|
||||
public final void accept(Context<?> ctx) {
|
||||
if (!isExecutable()) {
|
||||
ctx.sql("[ no fields are inserted ]");
|
||||
ctx.formatSeparator()
|
||||
.start(INSERT_VALUES)
|
||||
.keyword("default values")
|
||||
.end(INSERT_VALUES);
|
||||
}
|
||||
|
||||
// Single record inserts can use the standard syntax in any dialect
|
||||
|
||||
Loading…
Reference in New Issue
Block a user