Collate class

Collating functions used to compare texts in SQL.

See also:

Annotations
  • @sealed

Constructors

Collate(String name)
Create a collation from the name to use in sql.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of this collation in SQL.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

binary → const Collate
Instruct sqlite to compare string data using memcmp(), regardless of text encoding.
noCase → const Collate
The same as Collate.binary, except the 26 upper case characters of ASCII are folded to their lower case equivalents before the comparison is performed. Note that only ASCII characters are case folded. SQLite does not attempt to do full UTF case folding due to the size of the tables required.
rTrim → const Collate
The same as Collate.binary, except that trailing space characters are ignored.