status en uso y apartado

This commit is contained in:
xXpuma99Xx
2022-01-20 23:41:44 -06:00
parent b1970fe4a5
commit 0b6c48c7ac
14 changed files with 117 additions and 147 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
const { Op } = require('sequelize');
const Status = require('../../db/tablas/Status');
const get = async () => Status.findAll();
const get = async () => Status.findAll({ where: { idStatus: { [Op.gt]: 2 } } });
module.exports = get;