不要怂,就是干,撸起袖子干!

  1. 06 Dec, 2016 2 commits
    • Implement optimistic locking (#6637) · 7d597efb
      * 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 (#6918) · be30a5e7
      * 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
  2. 05 Dec, 2016 1 commit
  3. 03 Dec, 2016 3 commits
  4. 01 Dec, 2016 1 commit
  5. 30 Nov, 2016 1 commit
  6. 29 Nov, 2016 1 commit
    • Update to UUID 3.X package. (#6919) · b6e1c154
      * 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
  7. 24 Nov, 2016 2 commits
    • add a more informative error message (#6915) · 9b73d157
      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
  8. 22 Nov, 2016 1 commit
  9. 21 Nov, 2016 1 commit
  10. 18 Nov, 2016 1 commit
  11. 17 Nov, 2016 1 commit
  12. 16 Nov, 2016 1 commit
  13. 15 Nov, 2016 8 commits
  14. 14 Nov, 2016 2 commits
  15. 13 Nov, 2016 2 commits
  16. 12 Nov, 2016 1 commit
  17. 08 Nov, 2016 2 commits
  18. 07 Nov, 2016 4 commits
  19. 04 Nov, 2016 2 commits
  20. 03 Nov, 2016 1 commit
  21. 02 Nov, 2016 1 commit
  22. 01 Nov, 2016 1 commit