cycquery.ops.ReorderΒΆ class Reorder(cols)[source]ΒΆ Bases: QueryOp Reorder the columns in a table. Parameters: cols (List[str]) β Complete list of table column names in the new order. Examples >>> Reorder(["col2", "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