Commit Graph
13 Commits
Author SHA1 Message Date
Arthur OzgaandGitHub 842d9c4bdb Merge pull request #16443 from Botik/sequelize-indexes
[sequelize] add where option to DefineIndexesOptions for v4
2017-05-16 13:26:36 -07:00
Arthur OzgaandGitHub ea41bfc99d Merge pull request #16444 from Botik/sequelize-truncate
[sequelize] add force option to TruncateOptions for v4
2017-05-16 13:26:14 -07:00
TANAKA Koichi a609728f56 sequelize: fix inheritance of UniqueConstraintError class.
UniqueConstraintError class is subclass of ValidationError in both of
v3 and v4(current).

authorities:
for v4
http://docs.sequelizejs.com/class/lib/errors/index.js~UniqueConstraintError.html
for v3 (official doc is wrong.)
https://github.com/sequelize/sequelize/blob/v3/lib/errors.js#L153
2017-05-15 14:23:18 +09:00
Botik 2a766c7cc5 [sequelize] add force option to TruncateOptions for v4 2017-05-10 14:47:08 +03:00
Botik d5a5da8e7f [sequelize] add where option to DefineIndexesOptions for v4 2017-05-10 14:43:02 +03:00
EvgenyandMohamed Hegazy c49e2aa150 [sequelize] add where option to DefineIndexesOptions (#16357) 2017-05-05 16:22:36 -07:00
EvgenyandMohamed Hegazy 942dcf66e2 [sequelize] add force option for TruncateOptions (#16353) 2017-05-05 09:55:15 -07:00
Pavel PuchkovandMohamed Hegazy d1a979d719 Change transaction() autoCallback param type from Blueburd to PromiseLike (#16253)
* Change transaction() autoCallback param type from Blueburd to PromiseLike

* Add promise tests.
2017-05-03 12:07:38 -07:00
YousefandMohamed Hegazy 0a29ae08a9 fix null in sequelize find (#16219) 2017-05-01 12:29:24 -07:00
Brendan AbolivierandAndy 6389fb3171 Changed optional property to required property (#15820) 2017-04-20 11:33:30 -07:00
John PinksterandGitHub 1c3119fd77 updating v4 2017-04-11 10:25:01 -04:00
John PinksterandGitHub 5f8eb094db FIX/Distinct in FindOptions
The `FIndOptions` is applied for the `findAndCount` and `findAndCountAll`. For the count to be accurate with relationships, you need to be able to apply the `disinct` flag. This update will allow us to utilize the interface in those situations.
2017-04-11 10:08:43 -04:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00