Fetch and FetchAll
Model.query( 'where','mapID','=',req.query.mapID ).fetch() // get only one row
Model.query( 'where','mapID','=',req.query.mapID ).fetchAll() // get all rows
Last updated 2 years ago