DataObject

Undocumented in source.

Constructors

this
this(Database db, string table)
Undocumented in source.
this
this(Database db, string[string] res, Tuple!(string, string)[string] mappings)
Undocumented in source.

Members

Functions

addNew
DataObject addNew()
Undocumented in source. Be warned that the author may not have intended to support it.
commitChanges
void commitChanges()
Undocumented in source. Be warned that the author may not have intended to support it.
commitChanges
void commitChanges(string key, string keyField)
Undocumented in source. Be warned that the author may not have intended to support it.
commitChanges
void commitChanges(string[] keys, string[] keyFields)
Undocumented in source. Be warned that the author may not have intended to support it.
commitDelete
void commitDelete()
Undocumented in source. Be warned that the author may not have intended to support it.
getAlias
string getAlias(string table, string column)
Undocumented in source. Be warned that the author may not have intended to support it.
makeJsonValue
JSONValue makeJsonValue()
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref string) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref string, ref string) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
string* opBinary(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
opDispatch
string opDispatch()
Undocumented in source. Be warned that the author may not have intended to support it.
opDispatch
string opDispatch(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
opDispatch
string opDispatch(...)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
string opIndex(string field, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
string opIndexAssign(string value, string field)
Undocumented in source. Be warned that the author may not have intended to support it.
select
string select(string table, string column)
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(string table, string column, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
setWithoutChange
void setWithoutChange(string field, string value)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

changed
bool[string] changed;
Undocumented in source.
db
Database db;
Undocumented in source.
fields
string[string] fields;
Undocumented in source.
mappings
Tuple!(string, string)[string] mappings;
Undocumented in source.
mode
UpdateOrInsertMode mode;
Undocumented in source.
multiTableKeys
string[string][string] multiTableKeys;
Undocumented in source.
table
string table;
Undocumented in source.

Meta