_MySQL.CBool (gb.mysql)
Function CBool ( Value As Variant ) As Integer
Converts any value into MySQL Boolean.
A value of zero is considered false. Non-zero values are considered true.
Value: Is the value to test.
Examples
Dim hCon As New Connection
With hCon
  .Type = "mysql"
  .Port = "3306"
  .Host = "localhost"
  .User = "root"
  .Password = "mypass"
  .Name = "Gambas"
  .Open()
End With
hCon.MySQL.Charset = "utf8"
Print hCon.MySQL.CBool(5)