tozd / node-reactive-postgres

Reactive queries for PostgreSQL
https://www.npmjs.com/package/reactive-postgres
BSD 3-Clause "New" or "Revised" License
32 stars 4 forks source link

mode: 'full' is not implemented #10

Closed sorenhoyer closed 5 years ago

sorenhoyer commented 5 years ago

mode: 'full' is not implemented

looks like it's due to this block of code in line 264:

for (const key of Object.keys(row)) {
            if (key !== this.options.uniqueColumn && !columns.includes(key)) {
            delete row[key];
        }
    }
mitar commented 5 years ago

Thanks for reporting. Fixed and released as 0.1.3.