{"push_id":708812310,"size":17,"distinct_size":1,"ref":"refs/heads/feature/jsdoc","head":"49620530ac7bc3e3b8ecebff38d3db01cab84056","before":"445a3e96384c1ac862136b9af779ab78bd875a17","commits":[{"sha":"63ea18f55df9000d41f5770761343ecdbafcfaec","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Add `Model#refresh`, address issues with `Model#fetch`.\n\nCreate a new method `Model#refresh` which is designed to replace `Model#fetch`. This always fetches records by `idAttribute` if present. Otherwise it defaults to the normal `fetch` behaviour of matching by all set attributes.\n\nAlso, never try to use a JSON attribute in a `where` clause.\n\nPrevious fetch behaviour was causing unexpected behaviour.\n\nfixes #796, fixes #550, fixes #778","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/63ea18f55df9000d41f5770761343ecdbafcfaec"},{"sha":"18d991c6ff060fc70061d9a29f565cd1b4cd001e","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Rename `_doRefresh` to `_doFetch`.","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/18d991c6ff060fc70061d9a29f565cd1b4cd001e"},{"sha":"7a21d84acda9163d9a57dceaf202b15398d932bc","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Document and add test coverage for `Model.refresh`.","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/7a21d84acda9163d9a57dceaf202b15398d932bc"},{"sha":"1db606a0b4c2f161d7807fe0e239484421a10b38","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Merge pull request #805 from tgriesser/feature/refresh\n\nAdd Model#refresh","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/1db606a0b4c2f161d7807fe0e239484421a10b38"},{"sha":"29ce8db112a20dff95b2a3176b948d195e6cdd2e","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Update change log.","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/29ce8db112a20dff95b2a3176b948d195e6cdd2e"},{"sha":"584f22fbe9b272168393c1a07e8e50e5eab8ffc0","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Add `Collection#count`.\n\nReturns a promise that resolves to the number of elements that would be returned by a `fetch`. Respects relational constraints. Resets query afterwards, in keeping with behaviour for `fetch`.","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/584f22fbe9b272168393c1a07e8e50e5eab8ffc0"},{"sha":"4a684ff655b319b5909b3bb1d88b063ea50dce36","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Add `Model#count`.\n\nBehaves the same as `Collection#count`.","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/4a684ff655b319b5909b3bb1d88b063ea50dce36"},{"sha":"d2797f83c3c0371ca77da80979f9ece64a4b1ecb","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Add `Model.count`.\n\nStatic shortcut to `Model#count`.","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/d2797f83c3c0371ca77da80979f9ece64a4b1ecb"},{"sha":"b196fa6a2b9424addfa95496594ba3cc3f42d75c","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Document `count`.","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/b196fa6a2b9424addfa95496594ba3cc3f42d75c"},{"sha":"36098762190d3032616fe87fe8bae038d56631ef","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Add test that query is reset after `Collection#count`.","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/36098762190d3032616fe87fe8bae038d56631ef"},{"sha":"93ca9ee324494973d774fc0361f9a971a67d236e","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Merge pull request #781 from rhys-vdw/feature/count-collection\n\nAdd `Collection#count`.","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/93ca9ee324494973d774fc0361f9a971a67d236e"},{"sha":"437532af0a00b972300304ccf325136ed87f3554","author":{"email":"bd1c07641adbd9f8a8e271e7b4183f21c4ce7a71@gmail.com","name":"Xue Hu"},"message":"Change Collection add/set example code to be more accurate","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/437532af0a00b972300304ccf325136ed87f3554"},{"sha":"b0a3e3079b3c5d4924415dd4f4a4fba5f767feca","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Merge pull request #806 from dxuehu/master\n\nChange Collection add/set example code to be more accurate","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/b0a3e3079b3c5d4924415dd4f4a4fba5f767feca"},{"sha":"f5a52be10aac43b31c79f381b271b63036390aa4","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"`Sync.select`: Better check for `select` columns in query and refactor.\n\nSee #807","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/f5a52be10aac43b31c79f381b271b63036390aa4"},{"sha":"a5d80fdc5e0669e56f0a9947777757ab9fdf6a3a","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Test coverage for using `select` in query and `columns` in fetch.\n\nFixes #807","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/a5d80fdc5e0669e56f0a9947777757ab9fdf6a3a"},{"sha":"fdf759ae3dde22dd880d6e9151b7d10a88b78a5c","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Merge pull request #810 from tgriesser/fix-807\n\nFix 807","distinct":false,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/fdf759ae3dde22dd880d6e9151b7d10a88b78a5c"},{"sha":"49620530ac7bc3e3b8ecebff38d3db01cab84056","author":{"email":"f7c6cd2490da99878db93406e83db0bd9b616591@gmail.com","name":"Rhys van der Waerden"},"message":"Add JSDoc doclets and doc build command.\n\nDocument `Model`, `ModelBase`, `Collection`, `CollectionBase` etc.","distinct":true,"url":"https://api.github.com/repos/tgriesser/bookshelf/commits/49620530ac7bc3e3b8ecebff38d3db01cab84056"}]}