How does it compare to MikroORM? I was researching different ORM options and almost wanted to give up until I discovered MikroORM, which is simply great.
Edit: After quickly going through the intro, I prefer MikroORM, it's simpler.
Edit: After quickly going through the intro, I prefer MikroORM, it's simpler.
It's simple and the use of identity map within a unit of work, tied to a request context (for example), is just brilliant.
The handling of relations (with configurable loading strategies) and other features such as Embeddables and Filters make it a real joy to use.
And if at any point I can't achieve something with MikroORM itself (which generally in my case is calling a PostgreSQL function), I can easily grab the underlying Query Builder from Knex.
It also has the tooling to generate a schema from your Entities, or generate Entities from an existing schema - so it's easy to get started on something new or existing.