- 20 Dec, 2016 1 commit
-
-
* try catch block added for formatting parameters process * new line space added before braces * query function processing wrapped to Promise.try * processQuery method removed from var * binding context changed to arrow function * promise.try chaining added * extra Promise.resolve removed code refactored * space added * test cases for 'query' method updated with respect to new rejection structure instead of throwing error * it block messages corrected * return added and code structured * line space added * line space added * code style fixed
Muhammad AbdulMoiz committed
-
- 16 Dec, 2016 4 commits
-
-
Sushant committed
-
* Update hooks.js Fixed error where `return` was called inside of a for loop. This prevented execution of more than one synchronous hook. * Added tests for before/afterInit and before/afterDefine hooks * sooo many new lines
🔥 Aleksander Barszczewski committed -
* fixes for MSSQL bulkInsetQuery unit test edge cases and add large integration test * put back es6project.js * Revert "temporary fork to add upsert to mssql until we upgrade sequelize" This reverts commit 14d73a0a958efd981d51a9439579fd2b00698cfa. * update changelog * fix up changelog * space - review comment * use const in master * es6 updates * more es6 updates * quotes
TimMurnaghan committed -
yjhuoh committed
-
- 09 Dec, 2016 1 commit
-
-
* issue #5756 correct PKs with describeTable * #5756 FIXED * #5756 FIXED describeTable * #5736 fixed * #5736 test & fixes (describeTable PK) * #5756 hash and link
Antonio Begines committed
-
- 08 Dec, 2016 2 commits
- 07 Dec, 2016 1 commit
-
-
https://greenkeeper.io/
Greenkeeper committed
-
- 06 Dec, 2016 3 commits
-
-
* fix: no value in built-in/custom validator * using call rather than bind * [ci skip] changelog
Sushant committed -
* Implement optimistic locking * Update unit tests * Add sqlite support * Add MSSQL support * Add optimistic locking tests * Update changelog * Fix some tests * Fix lint errors * Updated SQL Server query implementation * Update documentation * Trigger rebuild * Add eventually to promise test * Updates from PR feedback * Add another optimistic locking test for update() * Update changelog. * Update error name * Add optimistic locking documentation section * Use ES6 style in tests * Updated documentation * Code formatting
David Tsai committed -
* Fixes MSSQL Limit in update query, closes #6636 * Fixes failing unit test * Moved unit test to test/unit/sql folder * Added sqlite case to unit test * Added MSSQL dialect specific updateQuery * Removed .call from super.updateQuery
Harshith Kashyap committed
-
- 05 Dec, 2016 1 commit
-
-
* using internal utils to deprecate / warn * update to validator@6.2.0 * updated wkx@0.4.1
Sushant committed
-
- 03 Dec, 2016 3 commits
-
-
Closes #6714 Fixes #6703
Sushant committed -
* fix: custom msg not used for notNull validations * [ci skip] changelog
Sushant committed -
https://greenkeeper.io/
Greenkeeper committed
-
- 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 1 commit
-
-
https://greenkeeper.io/
Greenkeeper committed
-