documentation for sql parameter

This commit is contained in:
Raul Ochoa 2014-04-11 12:13:44 +02:00
parent d10bd8e3b0
commit 909530cfb3

View File

@ -170,7 +170,7 @@ var sqlQueryMayWriteRegex = new RegExp("\\b(alter|insert|update|delete|create|dr
* This is a fuzzy check, the return could be true even if the query doesn't really write anything. But you can be
* pretty sure of a false return.
*
* @param sql
* @param sql The SQL statement to check against
* @returns {boolean} Return true of the given query may write to the database
*/
function queryMayWrite(sql) {