sequelize/sequelize

View on GitHub

Showing 452 of 755 total issues

Avoid too many return statements within this function.
Open

      return undefined;
Severity: Major
Found in lib/dialects/sqlite/query.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

              return include;
    Severity: Major
    Found in lib/model.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return Promise.try(() => {
            // Run before hook
            if (options.hooks) {
              return this.runHooks('beforeBulkCreate', instances, options);
            }
      Severity: Major
      Found in lib/model.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

          return `${(prependN ? "N'" : "'") + val}'`;
        Severity: Major
        Found in lib/sql-string.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                return results[0].version;
          Severity: Major
          Found in lib/dialects/sqlite/query.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return this;
            Severity: Major
            Found in lib/model.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return arrayToList(val, timeZone, dialect, format);
              Severity: Major
              Found in lib/sql-string.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return results;
                Severity: Major
                Found in lib/dialects/sqlite/query.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                        return results[0];
                  Severity: Major
                  Found in lib/dialects/sqlite/query.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return results;
                    Severity: Major
                    Found in lib/dialects/sqlite/query.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                            return values;
                      Severity: Major
                      Found in lib/model.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                              return [results, metaData];
                        Severity: Major
                        Found in lib/dialects/sqlite/query.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return this.dataValues;
                          Severity: Major
                          Found in lib/model.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                      return this;
                            Severity: Major
                            Found in lib/model.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return this.dataValues[key];
                              Severity: Major
                              Found in lib/model.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                      return this.handleShowIndexesQuery(results);
                                Severity: Major
                                Found in lib/dialects/sqlite/query.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return results;
                                  Severity: Major
                                  Found in lib/dialects/sqlite/query.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return dataTypes.BLOB.prototype.stringify(val);
                                    Severity: Major
                                    Found in lib/sql-string.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return results;
                                      Severity: Major
                                      Found in lib/dialects/sqlite/query.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                              return result;
                                        Severity: Major
                                        Found in lib/query-interface.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language