Gambas Documentation - /comp/gb.mysql/_mysql/collations

/comp/gb.mysql/_mysql/collations

# _MySQL.Collations (gb.mysql)

Property Read Collations As String[]

Returns a read only array containing the Collations supported by MySQL.

### Examples

    Dim hCon As New Connection

    With hCon
      .Type = "mysql"
      .Port = "3306"
      .Host = "localhost"
      .User = "root"
      .Password = "mypass"
      .Name = "Gambas"
      .Open()
    End With

    Print hCon.MySQL.Collations[2]

See your information_schema.COLLATIONS for all aviable collation.

Charset & Collations for more details.

See this example.