Pike v8.1 release 6

Method Sql.mysql()->utf8_encode_query()


Method utf8_encode_query

string utf8_encode_query(string q, function(string:string) encode_fn)

Description

Encodes the appropriate sections of the query with encode_fn. Everything except strings prefixed by an introducer (i.e. _something or N) is encoded.