Documentation ¶
Overview ¶
Package unicode provides an alternative to the SQLite ICU extension.
Provides Unicode aware:
- upper and lower functions,
- LIKE and REGEXP operators,
- collation sequences.
This package is not 100% compatible with the ICU extension:
- upper and lower use strings.ToUpper, strings.ToLower and cases;
- the LIKE operator follows strings.EqualFold rules;
- the REGEXP operator uses Go regex/syntax;
- collation sequences use collate.
Expect subtle differences (e.g.) in the handling of Turkish case folding.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(db *sqlite3.Conn)
Register registers Unicode aware functions for a database connection.
func RegisterCollation ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.