定义于:packages/query-db-collection/src/query.ts:256
批量操作的写入操作类型
• TItem extends object = Record<string, unknown>
• TKey extends string | number = string | number
• TInsertInput extends object = TItem
[key: string]: Fn
[key: string]: Fn
refetch: RefetchFn;
refetch: RefetchFn;
定义于:packages/query-db-collection/src/query.ts:261
writeBatch: (operations) => void;
writeBatch: (operations) => void;
定义于:packages/query-db-collection/src/query.ts:266
SyncOperation<TItem, TKey, TInsertInput>[]
void
writeDelete: (keys) => void;
writeDelete: (keys) => void;
定义于:packages/query-db-collection/src/query.ts:264
TKey | TKey[]
void
writeInsert: (data) => void;
writeInsert: (data) => void;
定义于:packages/query-db-collection/src/query.ts:262
TInsertInput | TInsertInput[]
void
writeUpdate: (updates) => void;
writeUpdate: (updates) => void;
定义于:packages/query-db-collection/src/query.ts:263
Partial<TItem> | Partial<TItem>[]
void
writeUpsert: (data) => void;
writeUpsert: (data) => void;
定义于:packages/query-db-collection/src/query.ts:265
Partial<TItem> | Partial<TItem>[]
void
您的每周 JavaScript 资讯。每周一免费发送给超过 10 万开发者。