cycquery.ops.DropΒΆ class Drop(cols)[source]ΒΆ Bases: QueryOp Drop some columns. Parameters: cols (Union[str, List[str]]) β Columns to drop. Examples >>> Drop("col1")(table) >>> Drop(["col1", "col2"])(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