API reference
python:astx:astx.nullable.ColumnType
class ColumnType
ColumnType(name: str, arguments: tuple[DataType | int | str, ...] = ())
Source: packages/astx/src/astx/nullable.py:66
Parameterized column storage type, not a standalone scalar.
Attributes
-
column_kind — Column kind.; Type: str
-
arguments — Arguments supplied to the call.; Type: tuple[DataType | int | str, ...]
-
loc — Type: SourceLocation
-
kind — Type: ASTKind
-
comment — Type: str
-
parent — Type: Optional[ASTNodes]
-
ref — Type: str
-
nbytes — Type: int
-
type_ — Type: ExprType
-
name — Type: str
-
_tmp_id — Type: int
Methods
-
__init__ — Model storage parameters without a backend dependency.
-
__str__ — Render all storage parameters.
-
get_struct — Render the node with all typed children.