Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What about this? 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!


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.


I like TypeORM but have passed on it for now because of this potential sql injection issue: 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.


Yes, TypeORM is definitely the JavaScript answer to ActiveRecord


Can vouch for TypeORM, hopefully it's creator will pick it back up soon and get it to a stable v1.0.0!!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: