Pike v8.0 release 1738

Method Sql.mysql()->utf8_encode_query()


Method utf8_encode_query

string utf8_encode_query(string q, function(string, mixed|void ... :string) encode_fn, mixed ... extras)

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.