- count
size_t count(Database db)
returns the total number of records we are 'talking on' (filters? query?)
- 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
Bytes deleteRecord(Database db, Bytes 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
Bytes[2] insertRecord(Database db, Bytes 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
Bytes packRows(size_t offset, size_t limit)
returns the packet selected rows
- packRows
Bytes packRows(Database db, size_t offset, size_t limit)
returns the packet selected rows
- packRowsToDelete
Bytes packRowsToDelete()
return the packet rows to delete in the client
- packRowsToInsert
Bytes packRowsToInsert()
return the packet rows to insert in the client
- packRowsToUpdate
Bytes 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, Bytes encodedKeys, Bytes encodedRecord, RequestState state, string clientId)
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, string clientId)
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