wwwouter

Results 27 comments of wwwouter

Hi Allard, Great to see you're looking into this again :) You pinpointed the only thing that I'm not happy with. (The rest works great 😄) The big problem is...

I'd love to make a simple default that just works. But I'm not sure you're solution would work all of the time. For example if users.groupId and groups.name are both...

Just to keep you posted: I started work on this in https://github.com/wwwouter/typed-knex/pull/11 `leftOuterJoinTableOnFunction` works and I also added some comments to help my future self 😃 `leftOuterJoinColumn` is a bigger...

Not a design decision :) Will try to find some time to take a look at this coming week.

So the way I envision it, is that the `User` class is a representation of the table. And the table has a reference available to it. In my own code,...

Using a query in `whereIn` is taking a bit more time, because I'm still deciding on how to handle this. Either adding extra functions like `whereInQuery` or overloading the existing...

Thanks! Available in 4.3.0 https://github.com/wwwouter/typed-knex#insertItemWithReturning

* It seems that `returning` is only supported by PostgreSQL, MSSQL, and Oracle databases: https://knexjs.org/#Builder-returning * The function returns `Pick` and not `number`.

@bgilman-nyk I added this to v4.5.0. Can you check if this is what you actually need?

Not sure what went wrong. Can you try v4.5.1?