Examples
ORM API
sendero.db.DBProvider
class template DBProvider(DBConnectionProvider)
static Statement prepare(char[] sql)
Instantiate this class with a class containing a static method ’’IPreparedStatementProvider createNewConnection()’’. ’’IPreparedStatementProvider’’ is documented in dbi.PreparedStatement from DDBI trunk. Essentially this is a connection to a database that provides Prepared Statements from DDBI. Currently only the MySQL backend has been implemented.
sendero.db.Statement
bool execute(T...)(T t) bool executeEmpty() bool fetch(T...)(out T t) void reset() ulong getLastInsertID() void prefetchAll() char[] getLastErrorMsg() IPreparedStatement statement()