Rasmus Porsager
Rasmus Porsager
I haven't used MERGE much yet, mostly because it doesn't support returning the modified rows :-( Could you maybe use on conflict? Even so. Is this an issue with this...
Hi @RyanDurk .. Yeah, it might be a bit too magical that Postgres.js sends `(null)` if the array is empty. It's something to consider changing with v4 since it's breaking....
@sk-shishi that sounds like a different issue. Could you post more details?
Thanks a lot. I think that's gonna be one for v4 when adding more explicit helper methods.
Sorry I haven't been on this @uasan .. I can repro here, so I hope I'll find some time to look into it soon!
There's actually a PR to remove that from regular parameters as well https://github.com/porsager/postgres/pull/392 . This library aims to be as close to PostgreSQL as possible (this is not an ORM)™️....
Yeah, if you have any opinions related to that PR, sure, but try to keep in mind we're trying to stay as close to the DB as possible to let...
@dylanplural I've got a POC to improve these things that I'm toying around with, but time is unfortunately quite limited for me currently :-( @ChristophP On the error object you...
Just merged a PR that should fix this https://github.com/porsager/postgres/pull/578 Can you check how that works?
Maybe the recently released sql language server from supabase could be of help : https://github.com/supabase/postgres_lsp