supastash
Version:
Offline-first sync engine for Supabase in React Native using SQLite
13 lines • 505 B
TypeScript
import { CrudMethods, SupastashQuery, SyncMode } from "../../../../types/query.types";
interface UpsertOptions<R = any> {
table: string;
onConflictKeys?: string[];
syncMode?: SyncMode;
nowISO?: string;
preserveTimestamp?: boolean;
returnRows?: boolean;
yieldEvery?: number;
}
export declare function upsertMany<R = any>(items: R[], opts: UpsertOptions<R>, state: SupastashQuery<CrudMethods, boolean, R>): Promise<R[] | void>;
export {};
//# sourceMappingURL=upsertMany.d.ts.map