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 MySQLCollation(Enum): (source)

View In Hierarchy

Enumerate common MySQL collations.

This enum provides connection-compatible collation names for the UTF-8, Latin1, ASCII, and GB18030 character sets. The selected collation must match the configured connection character set.

Constant ASCII_BIN ASCII, binary collation.
Constant ASCII_GENERAL_CI ASCII, case-insensitive, general collation.
Constant GB18030_BIN GB18030 binary collation.
Constant GB18030_CHINESE_CI GB18030 default Chinese collation.
Constant GB18030_UNICODE_520_CI GB18030 Unicode 5.2 collation.
Constant LATIN1_BIN Latin1, binary collation.
Constant LATIN1_GENERAL_CI Latin1, case-insensitive, general collation.
Constant LATIN1_SWEDISH_CI Latin1, case-insensitive, Swedish collation.
Constant UTF8_BIN UTF-8, binary collation.
Constant UTF8_GENERAL_CI UTF-8, case-insensitive, general collation.
Constant UTF8_UNICODE_CI UTF-8, case-insensitive, Unicode collation.
Constant UTF8MB4_BIN UTF-8MB4, binary collation.
Constant UTF8MB4_GENERAL_CI UTF-8MB4, case-insensitive, general collation.
Constant UTF8MB4_UNICODE_CI UTF-8MB4, case-insensitive, Unicode collation.
ASCII_BIN: str = (source)

ASCII, binary collation.

Value
'ascii_bin'
ASCII_GENERAL_CI: str = (source)

ASCII, case-insensitive, general collation.

Value
'ascii_general_ci'
GB18030_BIN: str = (source)

GB18030 binary collation.

Value
'gb18030_bin'
GB18030_CHINESE_CI: str = (source)

GB18030 default Chinese collation.

Value
'gb18030_chinese_ci'
GB18030_UNICODE_520_CI: str = (source)

GB18030 Unicode 5.2 collation.

Value
'gb18030_unicode_520_ci'
LATIN1_BIN: str = (source)

Latin1, binary collation.

Value
'latin1_bin'
LATIN1_GENERAL_CI: str = (source)

Latin1, case-insensitive, general collation.

Value
'latin1_general_ci'
LATIN1_SWEDISH_CI: str = (source)

Latin1, case-insensitive, Swedish collation.

Value
'latin1_swedish_ci'
UTF8_BIN: str = (source)

UTF-8, binary collation.

Value
'utf8_bin'
UTF8_GENERAL_CI: str = (source)

UTF-8, case-insensitive, general collation.

Value
'utf8_general_ci'
UTF8_UNICODE_CI: str = (source)

UTF-8, case-insensitive, Unicode collation.

Value
'utf8_unicode_ci'
UTF8MB4_BIN: str = (source)

UTF-8MB4, binary collation.

Value
'utf8mb4_bin'
UTF8MB4_GENERAL_CI: str = (source)

UTF-8MB4, case-insensitive, general collation.

Value
'utf8mb4_general_ci'
UTF8MB4_UNICODE_CI: str = (source)

UTF-8MB4, case-insensitive, Unicode collation.

Value
'utf8mb4_unicode_ci'