User Tools

Site Tools


lua:db:escape

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
lua:db:escape [2016/02/08 05:35] vodurlua:db:escape [2016/02/08 05:35] (current) vodur
Line 5: Line 5:
 Implemented by passing the text to [[https://www.sqlite.org/c3ref/mprintf.html|sqlite3_mprintf]] using "%q" as the format string and text as the argument. Implemented by passing the text to [[https://www.sqlite.org/c3ref/mprintf.html|sqlite3_mprintf]] using "%q" as the format string and text as the argument.
  
-<code+<code lua>
-lua: geshi+
 local str1=db.escape("db.escape will not change this string") local str1=db.escape("db.escape will not change this string")
 local str2=db.escape("db.escape won't not change this string") local str2=db.escape("db.escape won't not change this string")
lua/db/escape.1454909700.txt.gz · Last modified: 2016/02/08 05:35 by vodur