uncountable.core.query.builder.QueryBuilder

class uncountable.core.query.builder.QueryBuilder[QueryRowT: QueryRow](client, model)

Used in conjunction with the QueryRow and Column classes to fetch structured data from the Uncountable API.

Create a QueryBuilder instance from a subclass of QueryRow. Use this to apply filters and fetch structured data.

WARNING: This class is in beta and subject to breaking changes. Always check the SDK changelog for breaking changes before updating your SDK version.

Parameters:
all()
Return type:

list[QueryRowT]

filter(*filters)
Parameters:

filters (ColumnFilter)

Return type:

Self

first()
Return type:

QueryRowT | None

one()
Return type:

QueryRowT

one_or_none()
Return type:

QueryRowT | None