• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/apache-793/httpd/modules/lua/

Lines Matching defs:statement

147     db:query(statement): Executes the given database query and returns the 
158 const char *statement;
161 statement = lua_tostring(L, 3);
164 rc = apr_dbd_query(db->driver, db->handle, &x, statement);
197 const char *statement;
205 statement = lua_tostring(L, 3);
209 escaped = apr_dbd_escape(db->driver, r->pool, statement,
303 db:select(statement): Queries the database for the given statement and
313 const char *statement;
319 statement = lua_tostring(L, 3);
330 &results, statement, 0);
378 statement:select(var1, var2, var3...): Injects variables into a prepared
379 statement and returns the number of rows matching the query.
391 /* Fetch the prepared statement and the vars passed */
403 "Error in executing prepared statement: Expected %d arguments, got %d.",
421 &results, st->statement, 0, have, vars);
469 statement:query(var1, var2, var3...): Injects variables into a prepared
470 statement and returns the number of rows affected.
482 /* Fetch the prepared statement and the vars passed */
494 "Error in executing prepared statement: Expected %d arguments, got %d.",
511 &affected, st->statement, have, vars);
539 db:prepare(statement): Prepares a statement for later query/select.
548 const char *statement, *at;
558 statement = lua_tostring(L, 3);
560 /* Count number of variables in statement */
561 at = ap_strchr_c(statement,'%');
574 rc = apr_dbd_prepare(db->driver, r->pool, db->handle, statement,
589 /* Push the prepared statement table */
592 st->statement = pstatement;
612 db:prepared(statement): Fetches a prepared statement made through
632 /* Look for the statement */
639 "Could not find any prepared statement called %s!", tag);
644 /* Push the prepared statement table */
647 st->statement = pstatement;