_MySQL.Quote (gb.mysql)

Function Quote ( Value As Variant ) As String

Quotes any value

Value: Is the value to quote.

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.Quote("Hola" & 2)