Implement a new method to add multiple rows simultaneously without rerenders in-between the row additions

This commit is contained in:
Oliver-Akins 2025-05-04 21:35:22 -06:00
parent bb4c24329a
commit 8b488f488b
2 changed files with 28 additions and 4 deletions

View file

@ -62,10 +62,14 @@ export class Database {
};
// MARK: Row Ops
static createRow(table, userID, row) {
static createRow(table, userID, row, opts) {
throw new Error(`createRow() must be implemented`);
};
static createRows(table, userID, rows, opts) {
throw new Error(`createRows() must be implemented`);
};
static getRows(tableID, userIDs, privacy = `none`) {
throw new Error(`getRows() must be implemented`);
};