alex-taxiera/eris-boiler

View on GitHub
lib/sql-manager/index.js

Summary

Maintainability
A
1 hr
Test Coverage
B
84%

Function _whereBuilder has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _whereBuilder (query, builder) {
      let conditions = Object.entries(query.conditions)
      const whereNots = conditions
        .filter(([ prop, { type } ]) => type === 'notEqualTo')
      conditions = conditions
Severity: Minor
Found in lib/sql-manager/index.js - About 1 hr to fix

    Parsing error: Unexpected token {
    Invalid

    } catch {
    Severity: Minor
    Found in lib/sql-manager/index.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status