diff --git a/src/libs/routes/class.js b/src/libs/routes/class.js index faef41ba559e2aaea438339a5bbac445e6c43e6b..382121b5f5f3de1cb47c80b6abc75297846beebc 100644 --- a/src/libs/routes/class.js +++ b/src/libs/routes/class.js @@ -30,7 +30,8 @@ classApp.get('/location', (req, res, next) => { req.sql = squel.select() .field('id') .field('descricao', 'name') - .from('localizacao'); + .from('localizacao') + .where('localizacao.id <= 2'); next(); }, query, response('location'));