Closed pmooney-socraticworks closed 5 months ago
I'm on version 1.1 of pglite, and am finding that my update query is not returning the affectedRows field as mentioned here
1.1
pglite
affectedRows
Given a query
UPDATE "todo" SET "name"='foo' WHERE "id" = 1;
My result is:
{ rows: [], fields: [] }
I'd expect my query to return
{ rows: [], fields: [], affectedRows: 1 }
I see affectedRows is being returned in SELECT queries, FWIW.
SELECT
I'm on version
1.1
ofpglite
, and am finding that my update query is not returning theaffectedRows
field as mentioned hereGiven a query
My result is:
I'd expect my query to return
I see
affectedRows
is being returned inSELECT
queries, FWIW.