sqlite_database.operators module

Custom operators for shorthand.

sqlite_database.operators.between(name: str, low: int, high: int) tuple[str, Signature][source]

Between constraint

sqlite_database.operators.eq(name: str, other: Any) tuple[str, Signature][source]

Same as using op == other

sqlite_database.operators.ge(name: str, other: Any) tuple[str, Signature][source]

Same as using op >= other

sqlite_database.operators.gt(name: str, other: Any) tuple[str, Signature][source]

Same as using op > other

sqlite_database.operators.le(name: str, other: Any) tuple[str, Signature][source]

Same as using op <= other

sqlite_database.operators.like(name: str, condition: str) tuple[str, Signature][source]

Like constraint

sqlite_database.operators.lt(name: str, other: Any) tuple[str, Signature][source]

Same as using op < other

sqlite_database.operators.ne(name: str, other: Any) tuple[str, Signature][source]

Same as using op != other