Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Sql
Sql.mysql

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.