Skip to content

useUpsert

useUpsert<T>(table): UseMutationResult<T | null, Error, Partial<T> | Partial<T>[], unknown>

Hook to upsert data into a table

Type Parameter Default type
T any
Parameter Type
table string

UseMutationResult<T | null, Error, Partial<T> | Partial<T>[], unknown>