Adding upstream version 11.2.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
85cdf062c9
commit
adedb06cbd
32 changed files with 25185 additions and 24026 deletions
|
@ -84,6 +84,7 @@ class Generator:
|
|||
exp.CollateColumnConstraint: lambda self, e: f"COLLATE {self.sql(e, 'this')}",
|
||||
exp.EncodeColumnConstraint: lambda self, e: f"ENCODE {self.sql(e, 'this')}",
|
||||
exp.DefaultColumnConstraint: lambda self, e: f"DEFAULT {self.sql(e, 'this')}",
|
||||
exp.InlineLengthColumnConstraint: lambda self, e: f"INLINE LENGTH {self.sql(e, 'this')}",
|
||||
}
|
||||
|
||||
# Whether 'CREATE ... TRANSIENT ... TABLE' is allowed
|
||||
|
@ -445,6 +446,14 @@ class Generator:
|
|||
def autoincrementcolumnconstraint_sql(self, _) -> str:
|
||||
return self.token_sql(TokenType.AUTO_INCREMENT)
|
||||
|
||||
def compresscolumnconstraint_sql(self, expression: exp.CompressColumnConstraint) -> str:
|
||||
if isinstance(expression.this, list):
|
||||
this = self.wrap(self.expressions(expression, key="this", flat=True))
|
||||
else:
|
||||
this = self.sql(expression, "this")
|
||||
|
||||
return f"COMPRESS {this}"
|
||||
|
||||
def generatedasidentitycolumnconstraint_sql(
|
||||
self, expression: exp.GeneratedAsIdentityColumnConstraint
|
||||
) -> str:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue