Prisma : Extending model with custom methods

As a person coming from a Ruby on Rails background, I prefer ActiveRecord pattern to DataMapper . Obviously the choice will be based on the project and other criteria’s, but from my experience, most projects don’t require the complexity of Data Mapper. When I started using Prisma, one of the confusions for me was how to add a custom method to a model. Extending Prisma Client model object Prisma…