sequelize/sequelize

View on GitHub

Showing 787 of 787 total issues

Avoid too many return statements within this function.
Open

      return this.handleShowIndexesQuery(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;
    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];
      Severity: Major
      Found in src/dialects/mssql/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 value.slice();
          Severity: Major
          Found in src/utils.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return [data, meta];
            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;
              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, 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 { ...value };
                  Severity: Major
                  Found in src/utils.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return [result, data.affectedRows];
                    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.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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language