lib/utils/model/helpers/dynamicFinders.js
Function modelDynamicFindersGenerator
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function modelDynamicFindersGenerator(model) {
var finders = ['findBy', 'findAllBy', 'countBy']
, criteria = [
'is', 'in', 'like', 'notLike', 'iLike', 'notILike', 'startsWith', 'endsWith',
'not', 'notEqual', 'between', 'notBetween', 'greaterThan', 'lessThan', 'greaterThanOrEqualTo', 'lessThanOrEqualTo',
- Create a ticketCreate a ticket