sequelize/sequelize

View on GitHub

Showing 503 of 787 total issues

Avoid too many return statements within this function.
Open

      return this.handleShowTablesQuery(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 data[0].version;
    Severity: Major
    Found in src/dialects/mariadb/query.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

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

        Avoid too many return statements within this function.
        Open

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

          Avoid too many return statements within this function.
          Open

                return 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(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 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.instance || (rows && ((this.options.plain && rows[0]) || rows)) || undefined, rowCount];
                Severity: Major
                Found in src/dialects/postgres/query.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return now(dialect);
                  Severity: Major
                  Found in src/utils.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return data[0] ? data[0].AFFECTEDROWS : 0;
                    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 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language