lua-resty-mysql
lua-resty-mysql copied to clipboard
PDO style query
Do we have PDO style query in lua-resty-mysql The query and params can be sent separately rather than a string and it takes care of sql injection etc.
@kmaneesh No, this is still a TODO. Patches welcome :)
How would one escape a potentially dangerous SQL string before concatenating it in lieu of this?
Sorry I found it: https://github.com/openresty/lua-resty-mysql#sql-literal-quoting