- 01 Dec, 2016 1 commit
-
-
Because the query type was not properly set when doing a soft delete, Sequelize tried to format the result in the wrong format.
Lukas Spieß committed
-
- 30 Nov, 2016 1 commit
-
-
* feat: set/add/create through model with options.through * docs: options.through for set/add/create N:M * [ci skip] changelog
Sushant committed
-
- 29 Nov, 2016 1 commit
-
-
* Update to uuid@3.x package. The node-uuid package is deprecated. The new 3.x version drops the parse and unparse methods which were used in instance integration tests. Tests were updated to use uuid-validate package to validate UUID generation. * Update changelog Future for PR #6919 - update uuid package.
Michael Gauthier committed
-
- 24 Nov, 2016 2 commits
-
-
right now this is basically impossible to track down the root. this PR adds a more informative error message so you actually know what caused the error. Before: ``` TypeError: sql.replace is not a function at Object.format (/Users/contra/Projects/staeco/node_modules/sequelize/lib/sql-string.js:87:14) at Object.format (/Users/contra/Projects/staeco/node_modules/sequelize/lib/utils.js:119:20) at Object.getWhereConditions (/Users/contra/Projects/staeco/node_modules/sequelize/lib/dialects/abstract/query-generator.js:2303:24) ``` After: ```js Error: Invalid SQL string provided: ST_Intersects(123) at Object.format (/Users/contra/Projects/staeco/node_modules/sequelize/lib/sql-string.js:87:14) at Object.format (/Users/contra/Projects/staeco/node_modules/sequelize/lib/utils.js:119:20) at Object.getWhereConditions (/Users/contra/Projects/staeco/node_modules/sequelize/lib/dialects/abstract/query-generator.js:2303:24) ```
contra committed -
Jan Aagaard Meier committed
-
- 22 Nov, 2016 1 commit
-
-
Jan Aagaard Meier committed
-
- 21 Nov, 2016 1 commit
-
-
legomind committed
-
- 18 Nov, 2016 1 commit
-
-
https://github.com/sequelize/sequelize/issues/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.
Jozef Hartinger committed
-
- 17 Nov, 2016 1 commit
-
-
* Failing testcase for findAll with nested include and inner join on m:n association * Added insert queries to test * Changed generateThroughJoin join identifier * Improve code style
Harshith Kashyap committed
-
- 16 Nov, 2016 1 commit
-
-
Sushant committed
-
- 15 Nov, 2016 8 commits
-
-
Sushant committed
-
Association mixins refactoring
Jan Aagaard Meier committed -
Jan Aagaard Meier committed
-
* Use soft versioning for everything except inflection * Update lodash
Felix Becker committed -
* Added upsertQuery for MSSQL * Updated changelog and model api * Add missing space * Removed parenthesis from arrow functions * Fixes edge case when two unique keys are present in model, added WITH(HOLDLOCK) to prevent concurrency issues, integration test for multiple unique keys
Harshith Kashyap committed -
* Add ROW_FORMAT support to mysql query-generator InnoDB's new Barracuda file format offers 2 new types of row formats which offer significant improvements if working with utf8mb4 collation by supporting index key prefixes up to 3072 bytes instead of the default of 767 bytes offered with COMPACT or REDUNDANT row types offered in the legacy Antelope file format. This commit adds `ROW_FORMAT` support to the query-generator for the mysql dialect by adding `options.format` for sequelize.define(). * Add tests for overrides global format option and inherits global format option * Fix row-format test to use correct assert * Add explicit test for options.format to SQL ROW_FORMAT * Fix incorrect assert causing failing tests on row_format for options.format * Correct changelog issue/hash to point to the same place. * Rename options.format to options.rowFormat * Fix missed format to rowFormat variable name
Chris Coggburn committed -
* fix(now): allow millisecons on createdAt and updatedAt * test(timezone): timezone close check should allow 1 sec difference * doc(changelog): add entry to change log * test(now): create test for milliseconds in createdAt, updatedAt. test(now): remove uneeded update code from test removed unneeded file * test(now): only run if mysql dialect * test(lint): fix === lint error * test(now): fix schema issue * test(lint): remove space after comma
Bryan Sapot committed -
Robert Scheinpflug committed
-
- 14 Nov, 2016 2 commits
-
-
contra committed
-
Felix Becker committed
-
- 13 Nov, 2016 2 commits
-
-
Not a valid built-in validator, throws an error when you try to use it
contra committed -
* add tests for postgres query-interface functions createSchema, databaseVersion, renameFunction refactored file to address eslint warnings and errors * Improve code style
turbofoxwave committed
-
- 12 Nov, 2016 1 commit
-
-
Sushant committed
-
- 08 Nov, 2016 2 commits
-
-
https://greenkeeper.io/
Greenkeeper committed -
* (fix) restore ignore field from deletedAt attr * [ci skip] change log
Sushant committed
-
- 07 Nov, 2016 4 commits
-
-
Jan Aagaard Meier committed
-
Yu Qi committed
-
🐱 Sushant committed -
https://greenkeeper.io/
Greenkeeper committed
-
- 04 Nov, 2016 2 commits
-
-
Sushant committed
-
Nathan Schwartz committed
-
- 03 Nov, 2016 1 commit
-
-
* Update associations.md * Update associations.md * Update associations.md * Update associations.md * Update associations.md Another correction
Tim Scott committed
-
- 02 Nov, 2016 1 commit
-
-
Harshith Kashyap committed
-
- 01 Nov, 2016 2 commits
-
-
Sushant committed
-
Per Gullberg committed
-
- 31 Oct, 2016 1 commit
-
-
Sushant committed
-
- 27 Oct, 2016 3 commits
-
-
Fix es6 syntax, docs and changelog
tornillo committed -
* Small formatting fix * Small formatting fix
Adam Williams committed -
Jan Aagaard Meier committed
-
- 25 Oct, 2016 1 commit
-
-
Jan Aagaard Meier committed
-