From c5228ba7ecd8b022c9d0dd22b82d04626817bde8 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Thu, 5 Jun 2025 20:06:32 -0600 Subject: [PATCH] fix retrieval of column names -- so now most ops are working (but not all, eg. set name) --- src/services/platforms/CapacitorPlatformService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/platforms/CapacitorPlatformService.ts b/src/services/platforms/CapacitorPlatformService.ts index 32579b85..cbf83f79 100644 --- a/src/services/platforms/CapacitorPlatformService.ts +++ b/src/services/platforms/CapacitorPlatformService.ts @@ -144,7 +144,7 @@ export class CapacitorPlatformService implements PlatformService { operation.params, ); result = { - columns: [], // SQLite plugin doesn't provide column names + columns: Object.keys(queryResult.values?.[0] || {}), values: (queryResult.values || []).map((row) => Object.values(row), ),