bootstack.data.Column#

class bootstack.data.Column(name)#

Bases: object

A reference to a column. Build conditions and sort keys from it.

Created by col(name). Supports the comparison operators (==, !=, <, <=, >, >=), text matching (contains, startswith, endswith), membership (is_in), null tests (is_null, is_not_null), and sort direction (asc, desc).

name#
asc()#

Sort by this column, ascending.

contains(value)#

Case-insensitive substring match.

desc()#

Sort by this column, descending.

endswith(value)#

Case-insensitive suffix match.

is_in(values)#

Match any value in values.

is_not_null()#

Match rows where this column is not null.

is_null()#

Match rows where this column is null/missing.

startswith(value)#

Case-insensitive prefix match.