diff --git a/update.ts b/update.ts index a4090c2..16837c1 100644 --- a/update.ts +++ b/update.ts @@ -35,7 +35,7 @@ */ import { raw, sparql, type SparqlValue } from './sparql.ts' -import { createExecutor, type ExecutorConfig, type SparqlResult } from './executor.ts' +import { createExecutor, type BindingMap, type ExecutionConfig, type QueryResult } from './executor.ts' // ============================================================================ // Update Operation Types @@ -672,9 +672,9 @@ export class UpdateBuilder { * } * ``` */ - execute(config: ExecutorConfig): Promise { + execute(config: ExecutionConfig): Promise> { const executor = createExecutor(config) - return executor(this.build()) + return executor.execute(this.build()) } }