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

  1. 20 May, 2017 1 commit
    • Add `isSoftDeleted` helper method to model instances (#7531) · 787f3b3c
      * Add `isSoftDeleted` helper method to model instances
      
      Since users can rename the `deletedAt` field when creating a model it
      is helpful to have a `isSoftDeleted` so other users of the DB don't
      have to hard code the custom `deletedAt` field name throughout their
      codebase.
      
      Addresses: https://github.com/sequelize/sequelize/issues/7408
      
      * Update `isSoftDeleted` to check for dates in the future
      
      If the soft-delete property (default is `deleted_at`) is set, but it's
      set to a date in the future, then `isSoftDeleted` should return `false`.
      
      * Update `isSoftDeleted` to return `true` if `deletedAt` is now
      
      * Rename variable `isNotSet` to `isSet` and inverse logic
      
      This helps with readability and understanding.
      Jesse Atkinson committed
  2. 19 May, 2017 2 commits
  3. 18 May, 2017 1 commit
  4. 16 May, 2017 2 commits
  5. 14 May, 2017 1 commit
    • Polish docs (#7627) · d2baa896
      * Indent Markdown by 2 spaces
      
      Consistent with most examples and our codebase
      
      * Use ES6 (as supported by Node 4) in docs
      Felix Becker committed
  6. 10 May, 2017 1 commit
  7. 08 May, 2017 1 commit
    • 7564 Ordering with JSON attributes (#7565) · c3859940
      * Two birds with one stone.  Adds support for ordering by JSON columns and removes vulnerability for injections on JSON attributes.
      
      * Updates the changelog for the addition of json attributes.
      
      * Fixes lint error with prefer arrow.
      
      * Removes specific error because it may change depending on dialect and engine version.
      
      * Removed duplicate tests and moved location of SQL injection test and find order test.
      
      * Optimizes item.split performance by only performing the split once.
      
      * Fixes test for sqlite dialect json.  JSON is handled differently in sqlite where the json value is extracted from a path.  If the path doesn't exist sqlite returns null instead of throwing an error like postgres.
      Michael Kaufman committed
  8. 28 Apr, 2017 3 commits
  9. 27 Apr, 2017 1 commit
  10. 25 Apr, 2017 1 commit
  11. 23 Apr, 2017 2 commits
  12. 21 Apr, 2017 2 commits
  13. 11 Apr, 2017 3 commits
  14. 10 Apr, 2017 1 commit
  15. 08 Apr, 2017 2 commits
  16. 07 Apr, 2017 6 commits
  17. 03 Apr, 2017 1 commit
  18. 02 Apr, 2017 3 commits
  19. 27 Mar, 2017 1 commit
  20. 25 Mar, 2017 1 commit
  21. 21 Mar, 2017 2 commits
  22. 20 Mar, 2017 2 commits