Predicates¶
Column
¶
Bases: Generic[T]
Typed column reference. Operators build :class:Predicate nodes.
Don't construct directly — access via Model.f.<column>.
Source code in src/supabase_orm/_predicates.py
Predicate
¶
Composable boolean expression that compiles to a PostgREST predicate.
Build with :class:Column operators (== / >= / .in_() /
.like() / ...) and combine with | / & / ~::
(Pet.f.species == "cat") | (Pet.f.age >= 5)
~(Pet.f.adopted == True)
Pass to :meth:QueryBuilder.or_ or :meth:QueryBuilder.not_.