- DataObjectField
string DataObjectField()
You can subclass DataObject if you want to
get some compile time checks or better types.
- createDataObjectFieldsFromAlias
string createDataObjectFieldsFromAlias()
Undocumented in source. Be warned that the author may not have intended to support it.
- escapedVariants
string escapedVariants(Database db, string sql, Variant[string] t)
Undocumented in source. Be warned that the author may not have intended to support it.
- escapedVariants
string escapedVariants(Database db, string sql, Variant[] t)
Note: ?n params are zero based!
- fillData
void fillData(string delegate(string, string) setter, T obj, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillData
void fillData(void delegate(string, string) setter, T obj, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- fixupSqlForDataObjectUse
string fixupSqlForDataObjectUse(string sql, string[string] keyMapping)
Undocumented in source. Be warned that the author may not have intended to support it.
- getCreateTable
string getCreateTable(string sql, string tableName)
Undocumented in source. Be warned that the author may not have intended to support it.
- objectToDataObject
DataObject objectToDataObject(T t, Database db, string table)
Undocumented in source. Be warned that the author may not have intended to support it.
- queryOneColumn
Ret queryOneColumn(Database db, string sql, T t)
Undocumented in source. Be warned that the author may not have intended to support it.
- readWord
string readWord(string src)
Undocumented in source. Be warned that the author may not have intended to support it.
- rowToObject
T rowToObject(Row row)
Undocumented in source. Be warned that the author may not have intended to support it.
- toSql
string toSql(Database db, Variant a)
Undocumented in source. Be warned that the author may not have intended to support it.
- toSql
string toSql(string s, Database db)
Undocumented in source. Be warned that the author may not have intended to support it.
- toSql
string toSql(long s, Database db)
Undocumented in source. Be warned that the author may not have intended to support it.
- typeinfoBugWorkaround
void typeinfoBugWorkaround()
Undocumented in source. Be warned that the author may not have intended to support it.
- updateOrInsert
int updateOrInsert(Database db, string table, string[string] values, string where, UpdateOrInsertMode mode, string key)
Undocumented in source. Be warned that the author may not have intended to support it.
- yield
string yield(string what)
Undocumented in source. Be warned that the author may not have intended to support it.
Generic interface for RDBMS access. Use with one of the implementations in arsd.mysql, arsd.sqlite, arsd.postgres, or arsd.mssql. I'm sorry the docs are not good, but a little bit goes a long way:
To convert to other types, just use std.conv.to since everything comes out of this as simple strings.