From e7b9ef88bfc064ae6a58c44a3a122cd7595513d1 Mon Sep 17 00:00:00 2001 From: Gabriel Massadas Date: Tue, 10 Sep 2024 12:16:43 +0100 Subject: [PATCH] Fix wrong async execute function on modular select --- package.json | 2 +- src/modularBuilder.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 72ab937..9160f96 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "workers-qb", - "version": "1.6.0", + "version": "1.6.1", "description": "Zero dependencies Query Builder for Cloudflare Workers", "main": "./dist/index.js", "module": "./dist/index.mjs", diff --git a/src/modularBuilder.ts b/src/modularBuilder.ts index 86ba141..bd1f48b 100644 --- a/src/modularBuilder.ts +++ b/src/modularBuilder.ts @@ -150,7 +150,7 @@ export class SelectBuilder> { + execute(): MaybeAsync> { return this._fetchAll(this._options as SelectAll).execute() }