forked from trent_larson/crowd-funder-for-time-pwa
fix retrieval of column names -- so now most ops are working (but not all, eg. set name)
This commit is contained in:
@@ -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),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user