gazette.utils.orm

Functions

bool_is(→ ColumnElement[bool])

Returns a SqlAlchemyStatements checking for boolean values of JSON

Module Contents

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.