javascript: Implement Statement.pluck()

This commit is contained in:
Pekka Enberg
2025-08-19 13:45:45 +03:00
parent 54c02b6ae0
commit e99f189344
2 changed files with 33 additions and 2 deletions

View File

@@ -328,7 +328,7 @@ test.serial("Statement.all() [raw]", async (t) => {
t.deepEqual(await stmt.raw().all(), expected);
});
test.skip("Statement.all() [pluck]", async (t) => {
test.serial("Statement.all() [pluck]", async (t) => {
const db = t.context.db;
const stmt = await db.prepare("SELECT * FROM users");