pcyuen98 / covidAngular

0 stars 0 forks source link

ORM vs RDBMS #34

Open pcyuen98 opened 3 years ago

pcyuen98 commented 3 years ago
  1. Find the article to explain the difference between as title
  2. Name 3 objective to use ORM over RDBMS

provide a reference link

abdrhm293 commented 3 years ago
  1. https://stackoverflow.com/questions/3360304/orm-vs-traditional-database-query-which-are-their-fields

  2. https://blog.bitsrc.io/what-is-an-orm-and-why-you-should-use-it-b2b6f75f5e2a

    • You get to write in the language you are already using anyway. If we’re being honest, we probably aren’t the greatest at writing SQL statements. SQL is a ridiculously powerful language, but most of us don’t write in it often. We do, however, tend to be much more fluent in one language or another and being able to leverage that fluency is awesome!
    • It abstracts away the database system so that switching from MySQL to PostgreSQL, or whatever flavor you prefer, is easy-peasy.
    • Depending on the ORM you get a lot of advanced features out of the box, such as support for transactions, connection pooling, migrations, seeds, streams, and all sorts of other goodies.
    • Many of the queries you write will perform better than if you wrote them yourself.
pcyuen98 commented 3 years ago

explain and give example of migrations, seeds, streams,