Skip to content

useInsert

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

Hook to insert data into a table

Type Parameter Default type
T any
Parameter Type
table string

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