Skip to content

many

Types for nesting arrays in queries.

ManyColumn dataclass

Used to nest arrays of column results.

Source code in src/embar/query/many.py
27
28
29
30
31
32
33
@dataclass
class ManyColumn[T: ColumnBase]:
    """
    Used to nest arrays of column results.
    """

    of: T

ManyTable dataclass

Used to nest arrays of entire tables.

Source code in src/embar/query/many.py
 9
10
11
12
13
14
15
@dataclass
class ManyTable[T: type[TableBase]]:
    """
    Used to nest arrays of entire tables.
    """

    of: T

OneTable dataclass

Used to nest arrays of entire tables.

Source code in src/embar/query/many.py
18
19
20
21
22
23
24
@dataclass
class OneTable[T: type[TableBase]]:
    """
    Used to nest arrays of entire tables.
    """

    of: T