Re:Show HN: ORM for TypeScript with no query-builder, suppor...
by Seb-C on Thursday September 03, 2020 @07:32PM
(#24370052)
Thanks. I do not have experience with Room, but I usually prefer to control and know what is happening in my schema.
For example, if your schema is automatically handled, how do you both rename and change the type of a column without losing data? Would it perform a delete and a create?
Re:Show HN: ORM for TypeScript with no query-builder, suppor...
by mqus on Friday September 04, 2020 @05:47AM
(#24373407)
Only the creation is handled automatically. Room helps with migrations by enforcing a database version but you will have to write the migration code(sql) yourself.
For example, if your schema is automatically handled, how do you both rename and change the type of a column without losing data? Would it perform a delete and a create?