cycquery.ops.ReorderAfterΒΆ class ReorderAfter(cols, after)[source]ΒΆ Bases: QueryOp Reorder a number of columns to come after a specified column. Parameters: cols (Union[str, List[str]]) β Ordered list of column names which will come after a specified column. after (str) β Column name for the column after which the other columns will follow. Examples >>> ReorderAfter(["col2", "col1"], "col3")(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