From 44c14f32ed83d04df39b9bd5a6316f778ace7e17 Mon Sep 17 00:00:00 2001 From: benStre Date: Fri, 8 Nov 2024 00:35:17 +0100 Subject: [PATCH] fix getItemValue --- storage/storage-locations/sql-db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/storage-locations/sql-db.ts b/storage/storage-locations/sql-db.ts index dbd9cfe..980b95b 100644 --- a/storage/storage-locations/sql-db.ts +++ b/storage/storage-locations/sql-db.ts @@ -1463,7 +1463,7 @@ export abstract class SQLDBStorageLocation extends const result = (await this.#queryFirst<{value: string, value_text: string, value_integer: number, value_decimal: number, value_boolean: boolean, value_time: Date, ptrId: string}>( new Query() .table(this.#metaTables.items.name) - .select("value", "value_text", "value_integer", "value_decimal", "value_boolean", "value_time", "value_pointer", `${this.#pointerMysqlColumnName} as ptrId`) + .select("value", "value_text", "value_integer", "value_decimal", "value_boolean", "value_time", `${this.#pointerMysqlColumnName} as ptrId`) .where(Where.eq("key", key)) .build(), undefined