Skip to content

Commit 95adf91

Browse files
committed
Renamed plain to valueRows.
1 parent 852b899 commit 95adf91

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/drizzle-driver/src/sqlite/sqlite-query.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ export class PowerSyncSQLitePreparedQuery<
5454
}
5555

5656
const rows = (await this.values(placeholderValues)) as unknown[][];
57-
const plain = rows.map((row) => Object.values(row));
57+
const valueRows = rows.map((row) => Object.values(row));
5858
if (customResultMapper) {
59-
const mapped = customResultMapper(plain) as T['all'];
59+
const mapped = customResultMapper(valueRows) as T['all'];
6060
return mapped;
6161
}
62-
return plain.map((row) => mapResultRow(fields!, row, (this as any).joinsNotNullableMap));
62+
return valueRows.map((row) => mapResultRow(fields!, row, (this as any).joinsNotNullableMap));
6363
}
6464

6565
async get(placeholderValues?: Record<string, unknown>): Promise<T['get']> {
@@ -80,8 +80,8 @@ export class PowerSyncSQLitePreparedQuery<
8080
}
8181

8282
if (customResultMapper) {
83-
const plain = rows.map((row) => Object.values(row));
84-
return customResultMapper(plain) as T['get'];
83+
const valueRows = rows.map((row) => Object.values(row));
84+
return customResultMapper(valueRows) as T['get'];
8585
}
8686

8787
return mapResultRow(fields!, Object.values(row), joinsNotNullableMap);

0 commit comments

Comments
 (0)