function createChangeProxy<T>(target, parent?): object
function createChangeProxy<T>(target, parent?): object
Defined in: packages/db/src/proxy.ts:273
Creates a proxy that tracks changes to the target object
• T extends Record<string | symbol, any>
T
The object to proxy
Optional parent information
string | symbol
ChangeTracker<Record<string | symbol, unknown>>
object
An object containing the proxy and a function to get the changes
getChanges: () => Record<string | symbol, any>;
getChanges: () => Record<string | symbol, any>;
Record<string | symbol, any>
proxy: T;
proxy: T;