- count
deprecated size_t count()
returns the total number of records we are 'talking on' (filters? query?)
- count
size_t count(Database db)
Undocumented in source. Be warned that the author may not have intended to support it.
- countRowsToDelete
size_t countRowsToDelete()
Undocumented in source. Be warned that the author may not have intended to support it.
- countRowsToInsert
size_t countRowsToInsert()
Undocumented in source. Be warned that the author may not have intended to support it.
- countRowsToUpdate
size_t countRowsToUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
- deleteRecord
immutable(ubyte)[] deleteRecord(Database db, immutable(ubyte)[] data, DeleteError err, string username, string clientid)
Undocumented in source. Be warned that the author may not have intended to support it.
- deleteRecord
asPkParamStruct!table deleteRecord(Database db, asPkParamStruct!table keys, DeleteError err, string username, string clientid)
Undocumented in source. Be warned that the author may not have intended to support it.
- index
size_t index()
return the unique index identifier for this table, that's coming from the table definition in the app.d
- insertRecord
ColumnsStruct insertRecord(Database db, ColumnsStruct record, InsertError err, string username, string clientid)
insert a new row in the server table, turning clients table out of sync
- insertRecord
immutable(ubyte)[][2] insertRecord(Database db, immutable(ubyte)[] data, InsertError err, string username, string clientId)
Undocumented in source. Be warned that the author may not have intended to support it.
- insertRow
deprecated void insertRow(ColumnsStruct fixture)
insert a new row in the server table, turning clients table out of sync
- loadFixture
void loadFixture(ColumnsStruct fixture)
Undocumented in source. Be warned that the author may not have intended to support it.
- packRows
immutable(ubyte)[] packRows(size_t offset, size_t limit)
returns the packet selected rows
- packRows
immutable(ubyte)[] packRows(Database db, size_t offset, size_t limit)
returns the packet selected rows
- packRowsToDelete
immutable(ubyte)[] packRowsToDelete()
return the packet rows to delete in the client
- packRowsToInsert
immutable(ubyte)[] packRowsToInsert()
return the packet rows to insert in the client
- packRowsToUpdate
immutable(ubyte)[] packRowsToUpdate()
return the packet rows to update in the client
- selectRows
deprecated auto selectRows(size_t offset, size_t limit)
returns 'limit' rows starting from 'offset'.
- selectRows
auto selectRows(Database db, size_t offset, size_t limit)
returns 'limit' rows starting from 'offset'.
- unsafeReset
void unsafeReset()
Undocumented in source. Be warned that the author may not have intended to support it.
- updateRecord
void updateRecord(Database db, immutable(ubyte)[] encodedKeys, immutable(ubyte)[] encodedRecord, RequestState state)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateRecord
void updateRecord(Database db, asPkStruct!table keys, ColumnsStruct record, RequestState state)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateRow
deprecated void updateRow(KeysStruct keys, ColumnsStruct record)
update row in the server table, turning the client tables out of sync
- updateRow
void updateRow(Database db, KeysStruct keys, ColumnsStruct record)
update row in the server table, turning the client tables out of sync