8 lines
210 B
JavaScript
8 lines
210 B
JavaScript
const { Op } = require('sequelize');
|
|
const Infraccion = require('../../db/tablas/Infraccion');
|
|
|
|
const get = async () =>
|
|
Infraccion.findAll({ where: { idInfraccion: { [Op.ne]: 1 } } });
|
|
|
|
module.exports = get;
|