Player12
An open source football management simulator
Loading...
Searching...
No Matches
sqlite_rows.h File Reference
#include <sqlite3.h>
#include <string>
#include "database/database_connection.h"

Go to the source code of this file.

Namespaces

namespace  SqliteRows
 

Functions

template<typename T >
T SqliteRows::column (sqlite3_stmt *stmt, int index)
 
float SqliteRows::columnFloat (sqlite3_stmt *stmt, int index)
 
std::string SqliteRows::columnText (sqlite3_stmt *stmt, int index)
 
void SqliteRows::bindText (sqlite3_stmt *stmt, int index, const std::string &text)
 
template<typename Read >
void SqliteRows::forEach (const DatabaseConnection &db, const char *sql, Read read)
 
template<typename Range , typename Bind >
void SqliteRows::insertAll (const DatabaseConnection &db, const char *sql, const Range &items, Bind bind)
 
void SqliteRows::clearTable (const DatabaseConnection &db, const char *table)