Mongoose API has a method to remove those save, getters and setters from
find() results called
lean(). That improves the performance of
find() when using large data. Does Phalcon have an equivalent method? Or a better way to retrieve a huge amount of rows from the database?
This is their doc: https://mongoosejs.com/docs/api.html#query_Query-lean
Edit: It seems this forum replaces the link and it doesn't anchor to the correct topic. Just search for "lean(" and it will get there.