From 4cf38aac91db41c6f9c894baca70a26b32d55b9c Mon Sep 17 00:00:00 2001 From: Alexey Ivanov Date: Tue, 30 Jul 2024 01:15:21 +0300 Subject: [PATCH] [fix] Sparqljs Update type requires where --- src/SparqlGenUpdate.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SparqlGenUpdate.ts b/src/SparqlGenUpdate.ts index 54709a4..f053dae 100644 --- a/src/SparqlGenUpdate.ts +++ b/src/SparqlGenUpdate.ts @@ -93,6 +93,7 @@ function deleteObjectQueryFromEntConstrs(entConstrs: EntConstrInternal[]) { updateType: 'insertdelete', delete: [], insert: [], + where: [], }, ], }; @@ -172,6 +173,7 @@ function updateObjectQueryFromEntConstrs(entConstrs: EntConstrInternal[]) { updateType: 'insertdelete', delete: [], insert: [], + where: [], }, ], };