| id | createArrayChangeProxy |
|---|---|
| title | createArrayChangeProxy |
function createArrayChangeProxy<T>(targets): object;Defined in: packages/db/src/proxy.ts:1130
Creates proxies for an array of objects and tracks changes to each
T extends object
T[]
Array of objects to proxy
object
An object containing the array of proxies and a function to get all changes
getChanges: () => Record<string | symbol, unknown>[];Record<string | symbol, unknown>[]
proxies: T[];