21 ms·
What about this? https://github.com/typeorm/typeorm/blob/master/docs/active-record-data-mapper.md#what-is-the-active-record-pattern https://github.com/typeorm/t
by racedude 6y ago
What about this? https://github.com/typeorm/typeorm/blob/master/docs/active-record-data-mapper.md#what-is-the-active-record-pattern https://github.com/typeorm/typeorm/blob/master/docs/active-r... (Forgive me if this isn't what you are looking for, not super familiar with ActiveRecord myself, just recalled seeing that yesterday!
- jdauriemma 6y agoYes, TypeORM is definitely the JavaScript answer to ActiveRecord
- agustif 6y agoCan vouch for TypeORM, hopefully it's creator will pick it back up soon and get it to a stable v1.0.0!!
- benatkin 6y agoI like TypeORM but have passed on it for now because of this potential sql injection issue: https://github.com/typeorm/typeorm/issues/3740 https://github.com/typeorm/typeorm/issues/3740 I have passed a field to order_by() from the user in Django before. I would be more likely to use a dict now, but I shudder at the thought of accidentally creating an SQL injection bug because I expected to be protected by my ORM.
- Thomaschaaf 6y agohttps://mikro-orm.io/ https://mikro-orm.io/ is a much better typeorm alternative as it is actively being maintained. TypeORMs development has come to a halt. And many issues are not being fixed.