Closed rytido closed 1 month ago
The parse function is what is used when values is retrieved from the db, so you should look at the serialize function for what is sent serialize: x => x === true ? 't' : 'f'
https://github.com/porsager/postgres/blob/cc688c642fc98c4338523d3e281e03bf0c3417b8/src/types.js#L25
Based on the postgres docs and the parse function I could find, I would expect this to result in a true. Am I missing something?
Result(1) [ { boolcol: false } ]