Repository navigation
V3 - #1
Merged
Merged
V3#1
Conversation
* (fix) restore ignore field from deletedAt attr * [ci skip] change log changes
* fix: groupedLimit on paranoid junction table * change log and esproject file
Fixed the bug described in this issue: #6882
#6666 Makes it possible to pass condition objects (e.g. {foo: 'bar'}) to Sequelize.fn(), Sequelize.cast(). This makes it easy to use conditional counts in Sequelize queries, e.g. Sequelize.fn('sum', {name: 'Fred'}) which results in SUM(`name` = 'Fred') which can be used in attribute definition to count entities for which the condition matches.
* Fixed range integer parsing * Added test for integer ranges * Removing console.log and add inclusion assertions
Because the query type was not properly set when doing a soft delete, Sequelize tried to format the result in the wrong format: https://github.com/sequelize/sequelize/blob/cf232e76b46b7cb2fc98c455cc2010d520ca592d/lib/dialects/mssql/query.js#L186
geomerty => geometry
* Enabled transaction tests for mssql dialect, fixed transaction name too long bug * Removed passing of isolationLevel to begintransaction method * Replaced mssql query lodash includes with startsWith, added a test to allow transaction keywords as values
* Support ES6 imports * Remove semicolon
* Fixes removeColumn method when primarykey column is specified * Review fixes * Fixes failing test
* Fixes hasMany issue in #4258 added a source key field to allow the source table to have a custom foreign key that is not primary, defaults to the primary if not given * fix mistake on belongs to * More support for sourceKey in hasMnay * Add docs for sourceKey in hasMnay * Fix jslint error in has-many.test.js * Fix failing tests * Add unique index for sourceKey tests
* Stops test from removing test/integration/assets/es6project.js * Updates changelog. * Adds link to issue in changelog entry. * Added 'Future' header to changelog entry * Removed changelog update as requested.
* Backporting b6e1c15 to the v3 branch. * [ci-skip] changelog * [ci skip] changelog pr code
…ied in include (#7141) (#7147) * Initial Commit * Stops test from removing test/integration/assets/es6project.js * Fixes impromper syntax when specifying the use of association.sourceIdentifier or left.primaryKeyAttribute for attrLeft. Also includes integration test. * Updates changelog. * Adds link to issue in changelog entry. * Added 'Future' header to changelog entry * Removed changelog update as requested. * Updates changelog. Fixes query-generator to properly build queries from hasMany even with an include while respecting a specified sourceKey. Adds an integration test. * Added back removed whitespace per request. * Updates test in include altered field name in source key. Fixes were then made to address the test breaking. All tests pass now. * Adds back removed whitespace.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for wanting to fix something on Sequelize - we already love you long time! Please delete this text and fill in the template below. If unsure about something, just do as best as you're able.
If your PR only contains changes to documentation, you may skip the template below.
Pull Request check-list
Please make sure to review and check all of these items:
npm run testornpm run test-DIALECTpass with this change (including linting)?Futurein the changelog?NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
Description of change
Please provide a description of the change here.