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.

class documentation

class String(ColumnDefinition): (source)

Constructor: String(length, collation)

View In Hierarchy

The base for all string and character types. In SQL, VARCHAR.

Method __init__ Create a string-holding type.
Class Variable __slots__ Undocumented
def __init__(self, length: int | None = DEFAULT_STRING_LENGTH, collation: str | None = None): (source)

Create a string-holding type.

Parameters
length:int or None, optionalLength for the column for use in DDL and CAST expressions.
collation:str or None, optionalColumn-level collation for use in DDL and CAST expressions.
Returns
NoneThis method does not return a value.
Raises
ValueErrorIf the length is not a positive integer or None.
__slots__: tuple = (source)

Undocumented