MemoryStore.rows
property · packages/remote-server/src/index.ts:845
readonly rows: (
entity: string,
) => ReadonlyArray<Readonly<Record<string, unknown>>>The rows of one entity, in insertion order.
Remote / foldkit-remote-server
interface · packages/remote-server/src/index.ts:843
interface MemoryStore {
readonly rows: (
entity: string,
) => ReadonlyArray<Readonly<Record<string, unknown>>>
readonly write: (
entity: string,
id: string,
values: Readonly<Record<string, unknown>>,
) => void
readonly remove: (entity: string, id: string) => void
}The rows a memory backend holds, which its mutations write through. A change is what the next read sees; nothing is pushed to a client.
MemoryStore.rowsproperty · packages/remote-server/src/index.ts:845
readonly rows: (
entity: string,
) => ReadonlyArray<Readonly<Record<string, unknown>>>The rows of one entity, in insertion order.
MemoryStore.writeproperty · packages/remote-server/src/index.ts:847
readonly write: (
entity: string,
id: string,
values: Readonly<Record<string, unknown>>,
) => voidWrites these values onto a row, creating it if it is new.
MemoryStore.removeproperty · packages/remote-server/src/index.ts:848
readonly remove: (entity: string, id: string) => void