Revision 4939
Added by Aaron Marcuse-Kubitza about 12 years ago
sql.py | ||
---|---|---|
481 | 481 |
except StopIteration: raise sql_gen.NoUnderlyingTableException(col) |
482 | 482 |
default = sql_gen.as_Code(default, self) |
483 | 483 |
if type_ == 'USER-DEFINED': type_ = extra_type |
484 |
elif type_ == 'ARRAY': |
|
485 |
type_ = sql_gen.ArrayType(strings.remove_prefix('_', extra_type, |
|
486 |
require=True)) |
|
484 | 487 |
|
485 | 488 |
return sql_gen.TypedCol(col.name, type_, default, nullable) |
486 | 489 |
|
Also available in: Unified diff
sql.py: DbConn.col_info(): Parse array types as sql_gen.ArrayType