sequelize/sequelize

View on GitHub

Showing 787 of 787 total issues

Avoid too many return statements within this function.
Open

        return parseInt(rowCount, 10);
Severity: Major
Found in src/dialects/postgres/query.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          return this.handleSelectQuery(data);
    Severity: Major
    Found in src/dialects/mariadb/query.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return rows[0].server_version;
      Severity: Major
      Found in src/dialects/postgres/query.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              return [rows, queryResult];
        Severity: Major
        Found in src/dialects/postgres/query.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return [this.instance, null];
          Severity: Major
          Found in src/dialects/postgres/query.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return data[0];
            Severity: Major
            Found in src/dialects/mariadb/query.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return this.handleSelectQuery(data);
              Severity: Major
              Found in src/dialects/mssql/query.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return this.handleShowConstraintsQuery(data);
                Severity: Major
                Found in src/dialects/mssql/query.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                    return value;
                  Severity: Major
                  Found in src/utils.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return data[0].version;
                    Severity: Major
                    Found in src/dialects/mssql/query.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                            return [this.instance || data, data[0].$action === 'INSERT'];
                      Severity: Major
                      Found in src/dialects/mssql/query.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                              return [this.instance || data, rowCount];
                        Severity: Major
                        Found in src/dialects/mssql/query.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                return this.handleSelectQuery(rows);
                          Severity: Major
                          Found in src/dialects/postgres/query.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                  return this._pushError(false, errorKey, e, optValue, validatorType);
                            Severity: Major
                            Found in src/instance-validator.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return result;
                              Severity: Major
                              Found in src/dialects/postgres/query.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                      return this.handleShowIndexesQuery(data);
                                Severity: Major
                                Found in src/dialects/mssql/query.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return data;
                                  Severity: Major
                                  Found in src/dialects/mssql/query.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                          return parseInt(rowCount, 10);
                                    Severity: Major
                                    Found in src/dialects/postgres/query.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return smth.toString(this, factory);
                                      Severity: Major
                                      Found in src/dialects/abstract/query-generator.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return this._joinKeyValue(key, opValue, this.OperatorMap[Op.eq], options.prefix);
                                        Severity: Major
                                        Found in src/dialects/abstract/query-generator.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language