Mordechai Meisels

Results 132 comments of Mordechai Meisels

Side note: An interesting way to update multiple rows with different values with a single round trip https://github.com/brianc/node-postgres/issues/956#issuecomment-1046197203

Great news! Thank you

@romeerez The `adapter` key is missing in the `orchidORM` first config argument in TypeScript. Also, doesn't `porsager/postgres` expose a `pool` object? I use `@vercel/functions` utility [`attachDatabasePool`](https://vercel.com/guides/connection-pooling-with-functions) that automaticlaly closes the...

Ha, you could probably paste the entire docs into chatgpt and ask it to generate an llms.txt file

I actually notice now that `money` is discouraged (although the latest version of the postgres docs doesn't mention about discouraged use, was it fixed?). `money` returns numbers, unlike `numeric` which...

While I'm at it, I tried using the `numeric` type for my money fields, but I can no longer call the `sum` aggregate function, typescript complains (redacted table names): ```...

Thanks, for now I figured I can add conditions in the query itself, on the relational select statement.

This is great 👍 thanks @romeerez

I hear your point, but `relations` isn't purely application layer. For instance, [hasAndBelongsToMany](https://orchid-orm.netlify.app/guide/relations.html#hasandbelongstomany) has the `through` parameter which allows you to create a middle table. So while I understand this...

I look forward for this feature