MCPcopy Create free account
hub / github.com/antirez/botlib / sqlSelect

Function sqlSelect

sqlite_wrap.c:196–202  ·  view source on GitHub ↗

Wrapper for sqlGenericQuery() using varialbe number of args. * This is what you want when doing SELECT queries. */

Source from the content-addressed store, hash-verified

194/* Wrapper for sqlGenericQuery() using varialbe number of args.
195 * This is what you want when doing SELECT queries. */
196int sqlSelect(sqlite3 *dbhandle, sqlRow *row, const char *sql, ...) {
197 va_list ap;
198 va_start(ap,sql);
199 int rc = sqlGenericQuery(dbhandle,row,sql,ap);
200 va_end(ap);
201 return rc;
202}
203
204/* Wrapper for sqlGenericQuery() using variable number of args.
205 * This is what you want when doing SELECT queries that return a

Callers 1

kvGetFunction · 0.85

Calls 1

sqlGenericQueryFunction · 0.85

Tested by

no test coverage detected