gazette.utils.orm

Module Contents

Functions

bool_is(→ ColumnElement[bool])

Returns a SqlAlchemyStatements checking for boolean values of JSON

gazette.utils.orm.bool_is(column: ColumnElement[bool | None], value: bool) ColumnElement[bool][source]

Returns a SqlAlchemyStatements checking for boolean values of JSON attibutes. Missing values are interpreted as False.