Model.all() should convert results to Model type
Model.find(id)
returns new this(result)
, but Model.all()
just returns an array of plain objects.
Model.find(id)
returns new this(result)
, but Model.all()
just returns an array of plain objects.