semitwistWeb.db

Written in the D programming language.

Members

Aliases

DBOHelperTypes
alias DBOHelperTypes = TypeTuple!(SessionDB, Token)
Undocumented in source.

Classes

DBO
class DBO
Undocumented in source.
DBODuplicateEntryException
class DBODuplicateEntryException
Undocumented in source.
DBOException
class DBOException
Undocumented in source.

Functions

clearDBCache
void clearDBCache()
Undocumented in source. Be warned that the author may not have intended to support it.
convertMySQLToDBO
void convertMySQLToDBO(MySQLReceivedException e, TDbo dbo)
Undocumented in source. Be warned that the author may not have intended to support it.
dboRunSQL
bool dboRunSQL(Connection dbConn, T dbo, string sql)
Undocumented in source. Be warned that the author may not have intended to support it.
dboRunSQL
bool dboRunSQL(Connection dbConn, T dbo, ulong rowsAffected, string sql)
Undocumented in source. Be warned that the author may not have intended to support it.
dboRunSQL
bool dboRunSQL(Command db, T dbo)
Undocumented in source. Be warned that the author may not have intended to support it.
dboRunSQL
bool dboRunSQL(Command db, T dbo, ulong rowsAffected)
Undocumented in source. Be warned that the author may not have intended to support it.
dboRunSQLResult
ResultSet dboRunSQLResult(Command db, T dbo, ColumnSpecialization[] csa)
Undocumented in source. Be warned that the author may not have intended to support it.
fillDBCache
void fillDBCache(Connection dbConn)
Undocumented in source. Be warned that the author may not have intended to support it.
getDBColumns
string[uint] getDBColumns(Connection dbConn, string dbName, string tableName)
Undocumented in source. Be warned that the author may not have intended to support it.
getDBKeys
string[] getDBKeys(Connection dbConn, string dbName, string tableName)
Undocumented in source. Be warned that the author may not have intended to support it.
getNullable
T getNullable(Row row, size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
getNullable
Nullable!T getNullable(Row row, size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
getNullable
Nullable!T getNullable(Row row, size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
initializeDB
void initializeDB()

Runs 'res/init.sql' on the DB. Ie, Completely clears the DB and creates the needed tables.

mySqlDateTime
string mySqlDateTime(DateTime dateTime)
Undocumented in source. Be warned that the author may not have intended to support it.
mySqlString
string mySqlString(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
mySqlString
string mySqlString(Nullable!T value)
Undocumented in source. Be warned that the author may not have intended to support it.
mySqlString
string mySqlString(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
mySqlString
string mySqlString(T dateTime)
Undocumented in source. Be warned that the author may not have intended to support it.
rebuildDBCache
void rebuildDBCache(Connection dbConn)
Undocumented in source. Be warned that the author may not have intended to support it.
runSQL
bool runSQL(Connection dbConn, string sql)
Undocumented in source. Be warned that the author may not have intended to support it.
runSQL
bool runSQL(Connection dbConn, ulong rowsAffected, string sql)
Undocumented in source. Be warned that the author may not have intended to support it.
runSQL
bool runSQL(Command db)
Undocumented in source. Be warned that the author may not have intended to support it.
runSQL
bool runSQL(Command db, ulong rowsAffected)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

defineDBO
mixintemplate defineDBO(alias dbTable)
Undocumented in source.

Structs

SessionDB
struct SessionDB
Undocumented in source.
Token
struct Token
Undocumented in source.

Variables

dbHelperLogSql
bool dbHelperLogSql;
Undocumented in source.
dbHelperOpenDB
LockedConnection!Connection delegate() dbHelperOpenDB;
Undocumented in source.

Meta