SQLEnumerableData class

SQLEnumerable with only data for building.

Attributes:

Name Type Description
connection Connection)

Connection on which we want to execute the request.

flags Flags

All flags use to know the statement of the request.

cmd List[Command]

Commands we want to execute.

table str | SQLEnumerable

Table on which we want to execute the request.

length int | None

Length of the result of the request if we need else None.

Source code in py_linq_sql/utils/classes/other_classes.py
@dataclass
class SQLEnumerableData:
    """
    SQLEnumerable with only data for building.

    Attributes:
        connection (Connection) : Connection on which we want to execute the request.
        flags (Flags): All flags use to know the statement of the request.
        cmd (List[Command]): Commands we want to execute.
        table (str | SQLEnumerable): Table on which we want to execute the request.
        length (int | None): Length of the result of the request if we need else None.
    """

    connection: Connection
    flags: Flags
    cmd: list[Command]
    table: str | Any  # it's an SQLEnumerable
    length: int | None