Method Sql.mysql()->utf8_encode_query()


Method utf8_encode_query

string utf8_encode_query(string q, function(string, __unknown__ ... :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.