|
MPD
0.20.18
|
Go to the source code of this file.
Functions | |
| static void | Bind (sqlite3_stmt *stmt, unsigned i, const char *value) |
| Throws SqliteError on error. More... | |
| template<typename... Args> | |
| static void | BindAll2 (gcc_unused sqlite3_stmt *stmt, gcc_unused unsigned i) |
| template<typename... Args> | |
| static void | BindAll2 (sqlite3_stmt *stmt, unsigned i, const char *value, Args &&...args) |
| template<typename... Args> | |
| static void | BindAll (sqlite3_stmt *stmt, Args &&...args) |
| Throws SqliteError on error. More... | |
| static int | ExecuteBusy (sqlite3_stmt *stmt) |
| Call sqlite3_stmt() repepatedly until something other than SQLITE_BUSY is returned. More... | |
| static bool | ExecuteRow (sqlite3_stmt *stmt) |
| Wrapper for ExecuteBusy() that returns true on SQLITE_ROW. More... | |
| static void | ExecuteCommand (sqlite3_stmt *stmt) |
| Wrapper for ExecuteBusy() that interprets everything other than SQLITE_DONE as error. More... | |
| static unsigned | ExecuteChanges (sqlite3_stmt *stmt) |
| Wrapper for ExecuteCommand() that returns the number of rows modified via sqlite3_changes(). More... | |
| static bool | ExecuteModified (sqlite3_stmt *stmt) |
| Wrapper for ExecuteChanges() that returns true if at least one row was modified. More... | |
| template<typename F > | |
| static void | ExecuteForEach (sqlite3_stmt *stmt, F &&f) |
|
static |
Throws SqliteError on error.
|
static |
Throws SqliteError on error.
|
static |
|
static |
|
static |
|
inlinestatic |
Wrapper for ExecuteCommand() that returns the number of rows modified via sqlite3_changes().
Throws SqliteError on error.
|
static |
Wrapper for ExecuteBusy() that interprets everything other than SQLITE_DONE as error.
Throws SqliteError on error.
|
inlinestatic |
|
inlinestatic |
Wrapper for ExecuteChanges() that returns true if at least one row was modified.
Returns false if nothing was modified.
Throws SqliteError on error.
|
static |
Wrapper for ExecuteBusy() that returns true on SQLITE_ROW.
Throws SqliteError on error.
1.8.9.1