InsertBuilder

Undocumented in source.

Members

Functions

addFieldWithSql
void addFieldWithSql(string name, string sql)

if you use a placeholder, be sure to addValueForHandWrittenPlaceholder immediately

addValueForHandWrittenPlaceholder
void addValueForHandWrittenPlaceholder(T value)

for addFieldWithSql that includes a placeholder

addVariable
void addVariable(string name, T value)
addVariablesFromAssociativeArray
void addVariablesFromAssociativeArray(string[string] arr, string[] names)

same as adding the arr as values one by one. assumes DB column name matches AA key.

execute
auto execute(Database db, string supplementalSql)

executes the query

setTable
void setTable(string table)
Suggestion Box / Bug Report