cycquery.ops.LiteralΒΆ class Literal(value, col)[source]ΒΆ Bases: QueryOp Add a literal column to a table. Parameters: value (Any) β Value of the literal, e.g., a string or integer. col (str) β Label of the new literal column. Examples >>> Literal(1, "col1")(table) Methods __call__(table)[source]ΒΆ Process the table. Parameters: table (Union[Select, Subquery, Table, DBTable]) β Table on which to perform the operation. Returns: Processed table. Return type: sqlalchemy.sql.selectable.Subquery