Skip to content

Commit

Permalink
insert multiple: noid or uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb8005 committed Feb 29, 2024
1 parent 19e8177 commit 0ced9a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/query-service/abstract-service-wdata.ts
Expand Up @@ -91,7 +91,7 @@ abstract class QueryService extends AbstractService {
**/
async insertMultiple<A = any>(
entity: string,
data: A[] = []
data: Omit<A, 'uuid' | 'id'>[] = []
): Promise<MutateResponseInsert[]> {
if (data.length === 0) {
throw new Error(`No rows for ${entity} provided`);
Expand Down

0 comments on commit 0ced9a4

Please sign in to comment.