ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Undocumented

Constant _BETWEEN_BOUNDS Undocumented
Constant _COMPARATORS Undocumented
Constant _EQUALITY_OPERATORS Undocumented
Constant _INEQUALITY_OPERATORS Undocumented
Constant _PATTERN_OPERATORS Undocumented
Constant _SIMPLE_CLAUSES Undocumented
_BETWEEN_BOUNDS: int = (source)

Undocumented

Value
2
_COMPARATORS: dict[str, Callable[[Any, Any], Any]] = (source)

Undocumented

Value
{'=': operator.eq,
 '==': operator.eq,
 '!=': operator.ne,
 '<>': operator.ne,
 '<': operator.lt,
 '<=': operator.le,
 '>': operator.gt,
...
_EQUALITY_OPERATORS: frozenset[str] = (source)

Undocumented

Value
frozenset(set(['=', '==']))
_INEQUALITY_OPERATORS: frozenset[str] = (source)

Undocumented

Value
frozenset(set(['!=', '<>']))
_PATTERN_OPERATORS: dict[str, Callable[[Any, Any], Any]] = (source)

Undocumented

Value
{'like': (lambda col, val: col.like(val)),
 'not like': (lambda col, val: col.not_like(val)),
 'ilike': (lambda col, val: col.ilike(val)),
 'not ilike': (lambda col, val: col.not_ilike(val))}
_SIMPLE_CLAUSES: dict[WhereType, Callable[[Any, Any], Any]] = (source)

Undocumented

Value
{WhereType.IN: (lambda col, val: col.in_(() if val is None else val)),
 WhereType.NOT_IN: (lambda col, val: col.not_in(() if val is None else val)),
 WhereType.NULL: (lambda col, _val: col.is_(None)),
 WhereType.NOT_NULL: (lambda col, _val: col.is_not(None)),
 WhereType.LIKE: (lambda col, val: col.like(val)),
 WhereType.NOT_LIKE: (lambda col, val: col.not_like(val)),
 WhereType.ILIKE: (lambda col, val: col.ilike(val)),
...