A piece of SQL: its segments. Statements are fragments too, so
any of them can be placed inside another statement.
Attributes#
| Attribute | Type | Description |
|---|---|---|
segments | tuple[Segment, ...] = tuple(segments) |
Functions#
__init__#
__init__(segments) -> None| Parameter | Type | Description |
|---|---|---|
segments | Sequence[Segment] |
def __init__(self, segments: Sequence[Segment]) -> None:
self.segments = tuple(segments)