ACTIVE-RECORD or RAW SQL?
Active-record is an abstraction layer that facilitates creation, deletion and use of ORM objects whose data requires persistent storage to a database, This keeps us away from having to think too much about SQL level queries and makes it very easy to work with our data. It gives us…