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.
class documentation
class ColumnOptions: (source)
Secondary, type-specific knobs mirroring SQLAlchemy constructor args.
A single options object keeps ColumnDefinition constructible
with a handful of parameters while still exposing every keyword that
the equivalent SQLAlchemy Core type accepts, one attribute per keyword.
| Instance Variable | as |
Whether numeric values are returned as Decimal. |
| Instance Variable | as |
Whether array results are converted to tuples. |
| Instance Variable | as |
Whether UUID values are interpreted as uuid.UUID objects. |
| Instance Variable | collation |
Column-level collation for string columns. |
| Instance Variable | comparator |
Predicate used to compare pickled values for equality. |
| Instance Variable | constraint |
Explicit name for the generated CHECK constraint. |
| Instance Variable | create |
Whether to add a CHECK constraint for non-native enum/boolean. |
| Instance Variable | day |
Day precision for native interval columns. |
| Instance Variable | decimal |
Default scale applied when converting floats to decimals. |
| Instance Variable | dimensions |
Fixed number of dimensions for array columns. |
| Instance Variable | enum |
Name of the enumerated database type, when applicable. |
| Instance Variable | enum |
Allowed values for enum columns. |
| Instance Variable | impl |
Binary-storing type used in place of the default. |
| Instance Variable | item |
Element type declaration for array columns. |
| Instance Variable | length |
Maximum length for string-like or binary columns. |
| Instance Variable | native |
Whether to use the backend's native INTERVAL type. |
| Instance Variable | native |
Whether to use the backend's native ENUM type. |
| Instance Variable | native |
Whether to use the backend's native UUID-storing type. |
| Instance Variable | none |
Whether None persists as SQL NULL in JSON columns. |
| Instance Variable | pickler |
Object exposing dumps/loads, defaults to pickle. |
| Instance Variable | precision |
Total digits for numeric/decimal columns. |
| Instance Variable | protocol |
Pickle protocol used by pickle-backed columns. |
| Instance Variable | scale |
Decimal digits for numeric/decimal columns. |
| Instance Variable | second |
Fractional seconds precision for native interval columns. |
| Instance Variable | timezone |
Whether the datetime column is timezone-aware. |
| Instance Variable | validate |
Whether to validate string values against enum members. |
| Instance Variable | zero |
Whether array indexes convert between zero- and one-based conventions. |