User Tools

Site Tools


lua:db:escape

This is an old revision of the document!


db.escape( text )

Returns the text with necessary escaping for use in sqlite3 statement.

Implemented by passing the text to sqlite3_mprintf using "%q" as the format string and text as the argument.

lua/db/escape.1454908580.txt.gz · Last modified: 2016/02/08 05:16 by vodur