Memco

Interface DeletedNetwork

A network that was deleted, and what the deletion took with it.

const deleted = await client.networks.delete('network-a')
deleted.removed // { memories: 3, network_members: 1 }
interface DeletedNetwork {
    id: string;
    removed: Readonly<Record<string, number>>;
}
Index
id: string

The network that was deleted.

removed: Readonly<Record<string, number>>

How many rows the cascade removed from each table, keyed by table in sorted order, so the cost of the deletion can be seen and reads the same way every time.

On this page