lol
This commit is contained in:
@@ -1241,6 +1241,9 @@ class OracleCompiler(compiler.SQLCompiler):
|
||||
self.render_literal_value(flags, sqltypes.STRINGTYPE),
|
||||
)
|
||||
|
||||
def visit_aggregate_strings_func(self, fn, **kw):
|
||||
return "LISTAGG%s" % self.function_argspec(fn, **kw)
|
||||
|
||||
|
||||
class OracleDDLCompiler(compiler.DDLCompiler):
|
||||
def define_constraint_cascades(self, constraint):
|
||||
@@ -1315,8 +1318,9 @@ class OracleDDLCompiler(compiler.DDLCompiler):
|
||||
text = text.replace("NO MINVALUE", "NOMINVALUE")
|
||||
text = text.replace("NO MAXVALUE", "NOMAXVALUE")
|
||||
text = text.replace("NO CYCLE", "NOCYCLE")
|
||||
text = text.replace("NO ORDER", "NOORDER")
|
||||
return text
|
||||
if identity_options.order is not None:
|
||||
text += " ORDER" if identity_options.order else " NOORDER"
|
||||
return text.strip()
|
||||
|
||||
def visit_computed_column(self, generated, **kw):
|
||||
text = "GENERATED ALWAYS AS (%s)" % self.sql_compiler.process(
|
||||
|
||||
Reference in New Issue
Block a user