|
MySQL Connector/C++ 9.5.0
MySQL connector library for C and C++ applications
|
Structure that provides information about character set collation. More...
Public Member Functions | |
| unsigned | id () const |
| Numeric collation id, as used by MySQL server. | |
| const char * | getName () const |
| String name of a collation, such as "latin1_generic_ci". | |
| CharacterSet | getCharacterSet () const |
| Id of the character set of this collation. | |
| bool | isCaseSensitive () const |
| Returns true if given collation is case sensitive. More... | |
| bool | isBinary () const |
| Returns true if this is binary collation. | |
Structure that provides information about character set collation.
For each known collation COLL over character set CS, there is static object Collation<CS>::COLL of type CollationInfo which describes collation COLL. For example Collation<CharacterSet::latin1>::swedish_ci is an CollationInfo object which describes the swedish_ci collation over latin1 character set.
|
inline |
Returns true if given collation is case sensitive.
Binary collations are assumed to be case sensitive.