UNPKG

@wmfs/pg-model

Version:

Takes a relational database structure and returns model objects for noSQL-like abilities.

583 lines (381 loc) 60 kB
## [1.37.0](https://github.com/wmfs/pg-model/compare/v1.36.0...v1.37.0) (2025-10-21) ### Build system dependencies :hammer: * **deps-dev:** [sc-29160] Resolve issue with semantic-release changelog notes ([#409](https://github.com/wmfs/pg-model/issues/409)) ([11c0a35](https://github.com/wmfs/pg-model/commit/11c0a357e8782fae8bfcf3b08632f2c15577d580)) * **deps-dev:** update dependency @semantic-release/release-notes-generator to v14.1.0 ([#439](https://github.com/wmfs/pg-model/issues/439)) ([c5ecf17](https://github.com/wmfs/pg-model/commit/c5ecf172577f42136733ea24a20fc75ea109db15)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.33.0 ([d18371e](https://github.com/wmfs/pg-model/commit/d18371e3d770ec64d8624400f95b0cfb0b5b6eba)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.34.0 ([#407](https://github.com/wmfs/pg-model/issues/407)) ([9b2a77a](https://github.com/wmfs/pg-model/commit/9b2a77a0062ec63d24e1e3a6807b937f96897d41)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.35.0 ([#412](https://github.com/wmfs/pg-model/issues/412)) ([7164db1](https://github.com/wmfs/pg-model/commit/7164db1864f83fea7360366e90b9410e6754bcd3)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.36.0 ([#413](https://github.com/wmfs/pg-model/issues/413)) ([182064c](https://github.com/wmfs/pg-model/commit/182064c1910b12b0fb8a683d632e3d1f8bb7be9b)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.37.0 ([#415](https://github.com/wmfs/pg-model/issues/415)) ([be122c9](https://github.com/wmfs/pg-model/commit/be122c9e5307c2a66f69ab129f51b7d2e5487d5d)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.38.0 ([#416](https://github.com/wmfs/pg-model/issues/416)) ([3e49e7a](https://github.com/wmfs/pg-model/commit/3e49e7a9055d26251af7c9d4ec73d58a4505daa2)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.39.0 ([#417](https://github.com/wmfs/pg-model/issues/417)) ([2f9abc7](https://github.com/wmfs/pg-model/commit/2f9abc7ab48e2bb2f99986272256ea3d2cb9d142)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.40.0 ([#418](https://github.com/wmfs/pg-model/issues/418)) ([4e8d62a](https://github.com/wmfs/pg-model/commit/4e8d62ab1fac3db2eeed27e58c5137b831b94555)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.41.0 ([#419](https://github.com/wmfs/pg-model/issues/419)) ([d2d3866](https://github.com/wmfs/pg-model/commit/d2d3866cf2155ac999f1891fbb6e7410673d087c)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.42.0 ([#421](https://github.com/wmfs/pg-model/issues/421)) ([0ecd786](https://github.com/wmfs/pg-model/commit/0ecd786412babf3f3f54c81c0fc62dacc151e78b)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.43.0 ([#422](https://github.com/wmfs/pg-model/issues/422)) ([1e239c3](https://github.com/wmfs/pg-model/commit/1e239c3c06971df58930296e6141b6b198edabe5)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.44.0 ([#431](https://github.com/wmfs/pg-model/issues/431)) ([b86b93e](https://github.com/wmfs/pg-model/commit/b86b93e35e1892b0823ad4a49a7c4a51ed540f9f)) * **deps-dev:** update dependency @wmfs/hl-pg-client to v1.45.0 ([#434](https://github.com/wmfs/pg-model/issues/434)) ([a3040d4](https://github.com/wmfs/pg-model/commit/a3040d4316be75e502cde313fa9f6b82bd54000f)) * **deps-dev:** update dependency @wmfs/pg-diff-sync to v1.32.0 ([96aa92f](https://github.com/wmfs/pg-model/commit/96aa92f669400bb9573d5e17e5fa082a1b91c050)) * **deps-dev:** update dependency chai to v6 ([#437](https://github.com/wmfs/pg-model/issues/437)) ([3253c3b](https://github.com/wmfs/pg-model/commit/3253c3be505d0108774565039f043031ef67c5cc)) * **deps-dev:** update dependency chai to v6.2.0 ([#442](https://github.com/wmfs/pg-model/issues/442)) ([81fc991](https://github.com/wmfs/pg-model/commit/81fc9919582ffe343d802c51dd621320948ec8fc)) * **deps-dev:** update dependency conventional-changelog-conventionalcommits to v9 ([#426](https://github.com/wmfs/pg-model/issues/426)) ([d068d51](https://github.com/wmfs/pg-model/commit/d068d51b63f22c374c3a8c924419a7af73dd2146)) * **deps-dev:** update dependency conventional-changelog-conventionalcommits to v9.1.0 ([#435](https://github.com/wmfs/pg-model/issues/435)) ([ffca987](https://github.com/wmfs/pg-model/commit/ffca987a58334786b8c00c10be046a54a191ab68)) * **deps-dev:** update dependency mocha to v11 ([#406](https://github.com/wmfs/pg-model/issues/406)) ([cd0aa18](https://github.com/wmfs/pg-model/commit/cd0aa18c728fb930d27aa3fc5848649c00cded18)) * **deps-dev:** update dependency mocha to v11.1.0 ([#410](https://github.com/wmfs/pg-model/issues/410)) ([e606f06](https://github.com/wmfs/pg-model/commit/e606f06deebfc21083aa9140c9179937d9b30953)) * **deps-dev:** update dependency mocha to v11.2.2 ([#420](https://github.com/wmfs/pg-model/issues/420)) ([147e8bb](https://github.com/wmfs/pg-model/commit/147e8bb20fac41aaa53a1649734e54813c0429ba)) * **deps-dev:** update dependency mocha to v11.3.0 ([#423](https://github.com/wmfs/pg-model/issues/423)) ([17e8ee9](https://github.com/wmfs/pg-model/commit/17e8ee93d23aa762f96f36e86f133fa723727ce5)) * **deps-dev:** update dependency mocha to v11.4.0 ([#425](https://github.com/wmfs/pg-model/issues/425)) ([79e0616](https://github.com/wmfs/pg-model/commit/79e06161cbc1542837715a63a19fa0c21e3043e8)) * **deps-dev:** update dependency mocha to v11.5.0 ([#428](https://github.com/wmfs/pg-model/issues/428)) ([97ce2b5](https://github.com/wmfs/pg-model/commit/97ce2b588217cb8eabdef03999533007d49f0b78)) * **deps-dev:** update dependency mocha to v11.6.0 ([#429](https://github.com/wmfs/pg-model/issues/429)) ([ef5bd50](https://github.com/wmfs/pg-model/commit/ef5bd5095aeceee1b26c05c24cdd58c552e8e4c7)) * **deps-dev:** update dependency mocha to v11.7.0 ([#430](https://github.com/wmfs/pg-model/issues/430)) ([dbf61d6](https://github.com/wmfs/pg-model/commit/dbf61d691d18cb0f05192f8dd3a30728c26e26cd)) * **deps-dev:** update dependency mocha to v11.7.1 ([#432](https://github.com/wmfs/pg-model/issues/432)) ([458f59c](https://github.com/wmfs/pg-model/commit/458f59c11313f47b063e53408d3d072046517453)) * **deps-dev:** update dependency mocha to v11.7.2 ([#438](https://github.com/wmfs/pg-model/issues/438)) ([edf43b9](https://github.com/wmfs/pg-model/commit/edf43b94202a7b11c915142e2106df06e1e66076)) * **deps-dev:** update dependency mocha to v11.7.3 ([#443](https://github.com/wmfs/pg-model/issues/443)) ([d734a26](https://github.com/wmfs/pg-model/commit/d734a269ca5e724325a35a7bddc0f99755fee4af)) * **deps-dev:** update dependency mocha to v11.7.4 ([#444](https://github.com/wmfs/pg-model/issues/444)) ([e11a4b0](https://github.com/wmfs/pg-model/commit/e11a4b0f2e3c29fa130f875956de7d4e559f69dd)) * **deps-dev:** update dependency semantic-release to v24.2.1 ([#408](https://github.com/wmfs/pg-model/issues/408)) ([90d98cc](https://github.com/wmfs/pg-model/commit/90d98cc916940615ead3eb3de0ec32caebcae082)) * **deps-dev:** update dependency semantic-release to v24.2.2 ([#411](https://github.com/wmfs/pg-model/issues/411)) ([717206c](https://github.com/wmfs/pg-model/commit/717206cf362e5f5f618c4ba65d6e46af01d5668e)) * **deps-dev:** update dependency semantic-release to v24.2.3 ([#414](https://github.com/wmfs/pg-model/issues/414)) ([67c1c93](https://github.com/wmfs/pg-model/commit/67c1c9383ca0cb5fb80f695a2565d6613ca63525)) * **deps-dev:** update dependency semantic-release to v24.2.4 ([#424](https://github.com/wmfs/pg-model/issues/424)) ([f1c7543](https://github.com/wmfs/pg-model/commit/f1c7543d86d9e221d3337d5a9b3f29ec2537173f)) * **deps-dev:** update dependency semantic-release to v24.2.5 ([#427](https://github.com/wmfs/pg-model/issues/427)) ([8b9acfd](https://github.com/wmfs/pg-model/commit/8b9acfdd69cfe64be4fa44b04206c45efddc19f3)) * **deps-dev:** update dependency semantic-release to v24.2.6 ([#433](https://github.com/wmfs/pg-model/issues/433)) ([678ac91](https://github.com/wmfs/pg-model/commit/678ac919c66e63977c1b86444fd715f2c3e01183)) * **deps-dev:** update dependency semantic-release to v24.2.7 ([#436](https://github.com/wmfs/pg-model/issues/436)) ([9885e15](https://github.com/wmfs/pg-model/commit/9885e15364e12cd9f7842c9ea665d98fb0f1b4ae)) * **deps-dev:** update dependency semantic-release to v24.2.8 ([#440](https://github.com/wmfs/pg-model/issues/440)) ([b8f753a](https://github.com/wmfs/pg-model/commit/b8f753a7d62da0ac16e2b08b8cce7b0f96ae41dc)) * **deps-dev:** update dependency semantic-release to v24.2.9 ([#441](https://github.com/wmfs/pg-model/issues/441)) ([d471ec9](https://github.com/wmfs/pg-model/commit/d471ec9c079e401a678ea584bc95f31f0033e899)) * **deps-dev:** update dependency semantic-release to v25 ([#445](https://github.com/wmfs/pg-model/issues/445)) ([c567665](https://github.com/wmfs/pg-model/commit/c56766570e77ecfba001f8f964cb5555bacf29b2)) * **deps-dev:** update dependency semantic-release to v25.0.1 ([#446](https://github.com/wmfs/pg-model/issues/446)) ([4ebb01a](https://github.com/wmfs/pg-model/commit/4ebb01ae9d1acaf155e8350beb1328a743e05234)) * **deps:** revert chai to non-esm ([6b69272](https://github.com/wmfs/pg-model/commit/6b6927280b82722666de31d3b8299454f6ef0094)) # [1.36.0](https://github.com/wmfs/pg-model/compare/v1.35.0...v1.36.0) (2024-11-04) # [1.35.0](https://github.com/wmfs/pg-model/compare/v1.34.0...v1.35.0) (2024-01-08) ### Bug Fixes * update generateNotes preset ([d1bccdf](https://github.com/wmfs/pg-model/commit/d1bccdf906b92e4ff318aeb058555c8308be3ad5)) ### Features * allow for is null/not null in where clause [sc-20986] ([7db9489](https://github.com/wmfs/pg-model/commit/7db94895b5bede083209c793312116b8df8a1072)) * unit tests and fix on string != bool [sc-20986] ([9a1cc57](https://github.com/wmfs/pg-model/commit/9a1cc5799708cf79a751bc297e04f8b4bab3e7f5)) # [1.34.0](https://github.com/wmfs/pg-model/compare/v1.33.0...v1.34.0) (2023-06-20) ### 🛠 Builds * **deps:** update dependency dottie to v2.0.6 ([2cada0b](https://github.com/wmfs/pg-model/commit/2cada0b604b75999a13e558de48bb498f591d045)) # [1.33.0](https://github.com/wmfs/pg-model/compare/v1.32.0...v1.33.0) (2023-06-20) ### 🛠 Builds * **deps-dev:** update dependency [@semantic-release](https://github.com/semantic-release)/changelog to v6.0.3 ([e091c2b](https://github.com/wmfs/pg-model/commit/e091c2bfdadf61c253f47175b061bb03706731ef)) * **deps-dev:** update dependency [@wmfs](https://github.com/wmfs)/pg-diff-sync to v1.29.0 ([22a5823](https://github.com/wmfs/pg-model/commit/22a58234ff6deafd51d213f13a9cc0e517dc2ff5)) * **deps-dev:** update dependency semantic-release to v20.1.3 ([6b40643](https://github.com/wmfs/pg-model/commit/6b406435e203fe5de2312d5e0454caba89ebfb29)) * **deps-dev:** update dependency semantic-release to v21 ([5c45c67](https://github.com/wmfs/pg-model/commit/5c45c676d7c8ed9ac34a2f147afbdb756207a051)) * **deps-dev:** update dependency semantic-release to v21.0.1 ([a62cd23](https://github.com/wmfs/pg-model/commit/a62cd230a29a3cda56d9ff5231a062313dd91d67)) * **deps-dev:** update dependency semantic-release to v21.0.2 ([fe2f95b](https://github.com/wmfs/pg-model/commit/fe2f95b0496f07a9e724b23caeb88bb879a332a8)) * **deps-dev:** update dependency semantic-release to v21.0.3 ([e1efb44](https://github.com/wmfs/pg-model/commit/e1efb44a9d26e4e48e34faec28eb3d9fb39b5026)) * **deps-dev:** update dependency semantic-release to v21.0.5 ([0fa2854](https://github.com/wmfs/pg-model/commit/0fa2854926dfdc5bf119198f2d60533797be087b)) * **deps-dev:** update dependency standard to v17.1.0 ([22f0f3e](https://github.com/wmfs/pg-model/commit/22f0f3e8b51156e0156d2f224855246e0fe2ece1)) * **deps:** update dependency dottie to v2.0.4 [security] ([6349a8c](https://github.com/wmfs/pg-model/commit/6349a8c5fc6adba252abc6879b99d8b471dc2d10)) ### ⚙️ Continuous Integrations * **circle:** update postgres to 15.2-postgis [sc-19693] ([4655520](https://github.com/wmfs/pg-model/commit/4655520f15c8dc26469e05b55adb2391159862df)) # [1.32.0](https://github.com/wmfs/pg-model/compare/v1.31.0...v1.32.0) (2023-03-13) ### 🛠 Builds * **deps-dev:** update dependency [@semantic-release](https://github.com/semantic-release)/changelog to v6.0.2 ([61a1690](https://github.com/wmfs/pg-model/commit/61a1690126fac6469c6a7edcdb70c36eb3bde9e9)) * **deps-dev:** update dependency [@wmfs](https://github.com/wmfs)/hl-pg-client to v1.31.0 ([b757b34](https://github.com/wmfs/pg-model/commit/b757b3412c93378852b1708de528f06f5397fdf1)) * **deps-dev:** update dependency [@wmfs](https://github.com/wmfs)/pg-diff-sync to v1.27.0 ([18130a7](https://github.com/wmfs/pg-model/commit/18130a7482e4c642f53af104cb6a51682d47e3b6)) * **deps-dev:** update dependency chai to v4.3.7 ([c57f52a](https://github.com/wmfs/pg-model/commit/c57f52a5590632ef623e12747137579118a862bf)) * **deps-dev:** update dependency mocha to v10.2.0 ([c1addd3](https://github.com/wmfs/pg-model/commit/c1addd36e5a6abde3cb2a50bac935ec1389cd30d)) * **deps-dev:** update dependency semantic-release to v20 ([876c811](https://github.com/wmfs/pg-model/commit/876c811d3bdb3e0564d084ea0d9e6ee3a6c5a83c)) * **deps-dev:** update dependency semantic-release to v20.0.1 ([81d683b](https://github.com/wmfs/pg-model/commit/81d683b0d611d1f6ae967ba16ea2ce17170e9437)) * **deps-dev:** update dependency semantic-release to v20.0.2 ([a0e0a88](https://github.com/wmfs/pg-model/commit/a0e0a8877848a806791583e1394ba8650c684d4c)) * **deps-dev:** update dependency semantic-release to v20.0.3 ([794b810](https://github.com/wmfs/pg-model/commit/794b810755828dd25e6acb3346a990d8e95db9b5)) * **deps-dev:** update dependency semantic-release to v20.0.4 ([8a28363](https://github.com/wmfs/pg-model/commit/8a283638866a1e837d5cc38490ef18b9cd58dc76)) * **deps-dev:** update dependency semantic-release to v20.1.0 ([502b44f](https://github.com/wmfs/pg-model/commit/502b44ff7657b6656f1ea70a0789c186e703b1ec)) * **deps-dev:** update dependency semantic-release to v20.1.1 ([9bdb88e](https://github.com/wmfs/pg-model/commit/9bdb88e0e3b8a4e4c9648197551285a5da4c91d0)) * **deps:** update dependency dottie to v2.0.3 ([dd96071](https://github.com/wmfs/pg-model/commit/dd9607130ff4934b497571f7ad67b3cb0c8abcc1)) ### ⚙️ Continuous Integrations * **circle:** CircleCI update PostgreSQL image to 15 0 [sc-18659] ([9094c94](https://github.com/wmfs/pg-model/commit/9094c94ecf374b12040160fe9ff0d78c837b94fe)) * **circle:** update postgres to 15.1-postgis ([7370192](https://github.com/wmfs/pg-model/commit/73701924d68aac6eedb21a42ce0821f7217fbb81)) # [1.31.0](https://github.com/wmfs/pg-model/compare/v1.30.0...v1.31.0) (2022-11-02) ### 🛠 Builds * **deps-dev:** update dependency [@wmfs](https://github.com/wmfs)/hl-pg-client to v1.30.0 ([8b26193](https://github.com/wmfs/pg-model/commit/8b26193a2e4b4388ad544c7730da95569a18f2e5)) * **deps-dev:** update dependency mocha to v10.1.0 ([df15dcb](https://github.com/wmfs/pg-model/commit/df15dcbc320d9033cb95296b23ac8e7644bc3a77)) * **deps-dev:** update dependency semantic-release to v19.0.5 ([c7fbca9](https://github.com/wmfs/pg-model/commit/c7fbca999c748a324050af91726241b3582dfd72)) * **deps:** update dependency async to v3.2.4 ([cddac1a](https://github.com/wmfs/pg-model/commit/cddac1a1c9f723015b28d9f0cec8d3d3b32cb6f9)) # [1.30.0](https://github.com/wmfs/pg-model/compare/v1.29.1...v1.30.0) (2022-06-09) ### 🛠 Builds * **deps-dev:** update dependency mocha to v10 ([1b3d2e8](https://github.com/wmfs/pg-model/commit/1b3d2e81870c0b6f6ac3f8b6a1c6ea34914ab8ed)) * **deps-dev:** update dependency mocha to v9.2.2 ([9daf60c](https://github.com/wmfs/pg-model/commit/9daf60cdae61407836ec0bb25dc4f451d7b9a824)) * **deps-dev:** update dependency semantic-release to v19.0.3 ([a4506c3](https://github.com/wmfs/pg-model/commit/a4506c3a5a4a08468ff5c9e202d277f83953818c)) * **deps-dev:** update dependency standard to v17 ([c92561b](https://github.com/wmfs/pg-model/commit/c92561b7e86979ec343fade0fac48633d808054d)) * **deps:** bump pg-diff-sync ([3208dd7](https://github.com/wmfs/pg-model/commit/3208dd76f49843f08e62a376fcf9fb0c7886fe82)) ## [1.29.1](https://github.com/wmfs/pg-model/compare/v1.29.0...v1.29.1) (2022-02-21) ### 🐛 Bug Fixes * issue with updating with multiple keys ([4ef2cfe](https://github.com/wmfs/pg-model/commit/4ef2cfe5c4f7978d0358498cb25997af432d3c17)) ### 🛠 Builds * **deps-dev:** update dependency [@wmfs](https://github.com/wmfs)/hl-pg-client to v1.29.0 ([413e440](https://github.com/wmfs/pg-model/commit/413e44002010d90ce938efd5653d4502cb83a318)) * **deps-dev:** update dependency chai to v4.3.5 ([8c8e4a9](https://github.com/wmfs/pg-model/commit/8c8e4a91060f5ea9f5a25e1994d74ab24c54f06f)) * **deps-dev:** update dependency chai to v4.3.6 ([73d06c6](https://github.com/wmfs/pg-model/commit/73d06c6e16a86ca91b604f94ca04663e02b9c62e)) * **deps-dev:** update dependency mocha to v9.2.1 ([40d5244](https://github.com/wmfs/pg-model/commit/40d5244e366caf6e7d5c001d35d52a8472661b68)) ### 💎 Styles * standard fix ([3bb74a2](https://github.com/wmfs/pg-model/commit/3bb74a2b05065303c7ca2028746d0b4536076851)) # [1.29.0](https://github.com/wmfs/pg-model/compare/v1.28.1...v1.29.0) (2022-01-25) ### 🛠 Builds * **deps-dev:** update dependency mocha to v9.1.4 ([e47c043](https://github.com/wmfs/pg-model/commit/e47c043f33449f07cc9f4721347442e54669de0a)) * **deps-dev:** update dependency mocha to v9.2.0 ([f8baed9](https://github.com/wmfs/pg-model/commit/f8baed9ca29be08752dd41b0ad9cc103572ca0e9)) * **deps-dev:** update dependency semantic-release to v19 ([4304a19](https://github.com/wmfs/pg-model/commit/4304a19c7d09ee8b473668353adc23141842a04b)) * **deps:** update dependency async to v3.2.3 ([3c1a7f3](https://github.com/wmfs/pg-model/commit/3c1a7f3ac7b7b5271355de5ff2a2f816ce5424af)) ### ⚙️ Continuous Integrations * **circle:** CircleCI update next gen PostgreSQL image [sc-11442] ([ade3b0d](https://github.com/wmfs/pg-model/commit/ade3b0d27f68c7708a806f593687f90bd0a6c0d0)) ## [1.28.1](https://github.com/wmfs/pg-model/compare/v1.28.0...v1.28.1) (2021-11-25) ### 🐛 Bug Fixes * check fields is not empty array ([4d1387e](https://github.com/wmfs/pg-model/commit/4d1387e0fdb2bb177fd20233490cf83ddefbaac3)) # [1.28.0](https://github.com/wmfs/pg-model/compare/v1.27.0...v1.28.0) (2021-11-25) ### ✨ Features * ability to search model ([6b865ee](https://github.com/wmfs/pg-model/commit/6b865ee5155c1ef1f55b5d86b6e73390ead4133c)) ### 🛠 Builds * **deps-dev:** update dependency mocha to v9.1.3 ([d50db58](https://github.com/wmfs/pg-model/commit/d50db58341ebb2e2eefea7388f256676b1633652)) * **deps-dev:** update dependency standard to v16.0.4 ([aa9609d](https://github.com/wmfs/pg-model/commit/aa9609dc6c71d7c275968c255e2e7cbec1fd95dd)) * **deps-dev:** update semantic-release monorepo ([b0d613c](https://github.com/wmfs/pg-model/commit/b0d613c318564b1a799991de5ac438cb6ce46337)) * **deps-dev:** update semantic-release monorepo ([1496c46](https://github.com/wmfs/pg-model/commit/1496c465f8851643b81af343ad12021e9c9cdc96)) # [1.27.0](https://github.com/wmfs/pg-model/compare/v1.26.3...v1.27.0) (2021-11-24) ### ✨ Features * model and view functions to find counts ([8f61864](https://github.com/wmfs/pg-model/commit/8f6186440ee6797b1ce2f32b388e06f0bde6902e)) ## [1.26.3](https://github.com/wmfs/pg-model/compare/v1.26.2...v1.26.3) (2021-11-24) ### 🐛 Bug Fixes * check where is not empty object ([110901f](https://github.com/wmfs/pg-model/commit/110901f5e26fbc70f19ef43df95c24527432cd45)) ### ⚙️ Continuous Integrations * **travis:** remove old travis config ([5f2980a](https://github.com/wmfs/pg-model/commit/5f2980a7a84571e9e025a4f17a00cde901ef5343)) ## [1.26.2](https://github.com/wmfs/pg-model/compare/v1.26.1...v1.26.2) (2021-08-04) ### 🐛 Bug Fixes * default options and fix typo ([f1c6644](https://github.com/wmfs/pg-model/commit/f1c66449a95507b7c5fdf1e0992d939287fbd879)) ### 🚨 Tests * add tests to ensure dates can be queried ([47b0a01](https://github.com/wmfs/pg-model/commit/47b0a01e3d4a0d9df3167dd137775e46c554bcb6)) ## [1.26.1](https://github.com/wmfs/pg-model/compare/v1.26.0...v1.26.1) (2021-08-02) ### 🐛 Bug Fixes * apply the modified col update on upsert ([d0b4464](https://github.com/wmfs/pg-model/commit/d0b4464089aa28fe527c3c1e41a32976c7e84594)) * check modified column on upsert tests ([89a2d07](https://github.com/wmfs/pg-model/commit/89a2d07e4cd68d0799cb80747965a2ab1bf04e92)) * Issue [#292](https://github.com/wmfs/pg-model/issues/292) modified column not updating ([e7e78c5](https://github.com/wmfs/pg-model/commit/e7e78c5a199254f1b91fe912787b1da688a156ef)) ### 🛠 Builds * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.27.0 to 1.28.0 ([da67f3c](https://github.com/wmfs/pg-model/commit/da67f3c1b0a15cc3cf4fc68dd3d8c9385fd7fef1)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/pg-diff-sync from 1.24.0 to 1.25.0 ([abed61d](https://github.com/wmfs/pg-model/commit/abed61dfb49c3b3710f9b5473940106094ec4543)) * **deps-dev:** bump chai from 4.3.0 to 4.3.1 ([75eb3bf](https://github.com/wmfs/pg-model/commit/75eb3bfccfef038b94ea57232465058ea4768650)) * **deps-dev:** bump chai from 4.3.1 to 4.3.2 ([ee978e6](https://github.com/wmfs/pg-model/commit/ee978e69fe0a64cb30c77024ada2c008b96d2d66)) * **deps-dev:** bump chai from 4.3.2 to 4.3.3 ([084f52b](https://github.com/wmfs/pg-model/commit/084f52b67ab9c73e16906ecfbd8addc3371b4a91)) * **deps-dev:** bump chai from 4.3.3 to 4.3.4 ([d2d4921](https://github.com/wmfs/pg-model/commit/d2d49219698f27a2a7d08a1c950593f9ef232d5a)) * **deps-dev:** bump codecov from 3.8.1 to 3.8.2 ([6661438](https://github.com/wmfs/pg-model/commit/66614386c6ba21feccd7ea891d45dfca8feb2821)) * **deps-dev:** bump codecov from 3.8.2 to 3.8.3 ([24475b2](https://github.com/wmfs/pg-model/commit/24475b2b2715633be1d3c39830494a9e65f94bc2)) * **deps-dev:** bump mocha from 8.3.0 to 8.3.1 ([a3cd81d](https://github.com/wmfs/pg-model/commit/a3cd81d91b2d2578cdb2fe7f20eec12ac19d085e)) * **deps-dev:** bump mocha from 8.3.1 to 8.3.2 ([4de4cb6](https://github.com/wmfs/pg-model/commit/4de4cb6894ad9e5189cd3855648f0ad03f3032f6)) * **deps-dev:** bump mocha from 8.3.2 to 8.4.0 ([8b085ea](https://github.com/wmfs/pg-model/commit/8b085ea97587937ee7f45bfafb7de819a3c5649f)) * **deps-dev:** bump mocha from 8.4.0 to 9.0.0 ([1eedb12](https://github.com/wmfs/pg-model/commit/1eedb1281b3a1ec4123226600879c66d5a1ca66b)) * **deps-dev:** bump mocha from 9.0.0 to 9.0.1 ([45c0f0b](https://github.com/wmfs/pg-model/commit/45c0f0b5965e57f6ef56ae2dd6f0fb69c4abaeee)) * **deps-dev:** bump mocha from 9.0.1 to 9.0.2 ([c8321fe](https://github.com/wmfs/pg-model/commit/c8321feda016dbef9b97dc40a129509ca8fe03ef)) * **deps-dev:** bump mocha from 9.0.2 to 9.0.3 ([b8df0fa](https://github.com/wmfs/pg-model/commit/b8df0fa8526943ec9a78a738b4a3eccabbfed2fd)) * **deps-dev:** bump semantic-release from 17.3.9 to 17.4.0 ([2b4e988](https://github.com/wmfs/pg-model/commit/2b4e9881d8b98f765c5f0929b83ec885b0bb086c)) * **deps-dev:** bump semantic-release from 17.4.0 to 17.4.1 ([d421f57](https://github.com/wmfs/pg-model/commit/d421f578d2c091d98f3d4c01e80ea4a857ed307c)) * **deps-dev:** bump semantic-release from 17.4.1 to 17.4.2 ([8d8d7de](https://github.com/wmfs/pg-model/commit/8d8d7de06e575e524f2d85112c8acab405e4d13f)) * **deps-dev:** bump semantic-release from 17.4.2 to 17.4.3 ([c9ff021](https://github.com/wmfs/pg-model/commit/c9ff0213ff9062b33fb01dba2141a1658e0286b6)) * **deps-dev:** bump semantic-release from 17.4.3 to 17.4.4 ([909c2cd](https://github.com/wmfs/pg-model/commit/909c2cd0eb91c836c2feb93a693dad0cabb66bca)) ### 🚨 Tests * Issue [#292](https://github.com/wmfs/pg-model/issues/292) modified column not updating - update expects ([165bfa3](https://github.com/wmfs/pg-model/commit/165bfa316c8cc0f6db0dd6fda716cb2817266842)) * Issue [#292](https://github.com/wmfs/pg-model/issues/292) modified column not updating - update expects ([82a8352](https://github.com/wmfs/pg-model/commit/82a83524d660040cf02bce1ae743fecc1822bdaf)) ### ⚙️ Continuous Integrations * **circle:** update postgres config to 13.2 ([faecb3f](https://github.com/wmfs/pg-model/commit/faecb3fb81dbfd9ccd9bf0d01979615dfcac41fe)) ### ♻️ Chores * add renovate config [ch6600] ([91b261e](https://github.com/wmfs/pg-model/commit/91b261e37e49ab2830ce557cd293af42e08cd8e0)) # [1.26.0](https://github.com/wmfs/pg-model/compare/v1.25.0...v1.26.0) (2021-02-24) ### 🛠 Builds * **deps:** bump lodash from 4.17.20 to 4.17.21 ([213a029](https://github.com/wmfs/pg-model/commit/213a029fa834800906a8067809d0f875fdabc52b)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.25.0 to 1.26.0 ([2b3dc31](https://github.com/wmfs/pg-model/commit/2b3dc319fd6408c753eb5083f0d7b895fa24e748)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.26.0 to 1.27.0 ([decb984](https://github.com/wmfs/pg-model/commit/decb98470305950d0b993be6b80a4ca8239c8fa5)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/pg-diff-sync from 1.23.0 to 1.24.0 ([1404f29](https://github.com/wmfs/pg-model/commit/1404f2905f37ebef117c8d9d9159422e72342d8e)) * **deps-dev:** bump chai from 4.2.0 to 4.3.0 ([4c3054b](https://github.com/wmfs/pg-model/commit/4c3054b009d39a443b718e503c3df6dd31c55885)) * **deps-dev:** bump codecov from 3.8.0 to 3.8.1 ([e4fb66f](https://github.com/wmfs/pg-model/commit/e4fb66ff5dce9de4ef70a2a4accf5d39925e5dba)) * **deps-dev:** bump mocha from 8.2.0 to 8.2.1 ([2d1b366](https://github.com/wmfs/pg-model/commit/2d1b366bc29b92f5deca0916c2316e049cddae79)) * **deps-dev:** bump mocha from 8.2.1 to 8.3.0 ([ebc53b0](https://github.com/wmfs/pg-model/commit/ebc53b099c077f88dac4b1ef31773548655ee1b6)) * **deps-dev:** bump semantic-release from 17.2.1 to 17.2.2 ([c4ef8d0](https://github.com/wmfs/pg-model/commit/c4ef8d0137dd154eb3ee036fe9425eee16a9eb35)) * **deps-dev:** bump semantic-release from 17.2.2 to 17.2.3 ([41b8856](https://github.com/wmfs/pg-model/commit/41b8856a8c2d7c0af64db481a833e9c8e69b1aed)) * **deps-dev:** bump semantic-release from 17.2.3 to 17.2.4 ([7fef81b](https://github.com/wmfs/pg-model/commit/7fef81be399c480c40405d4771bb51f546bc8a6a)) * **deps-dev:** bump semantic-release from 17.2.4 to 17.3.0 ([f00ae45](https://github.com/wmfs/pg-model/commit/f00ae45c632fb79cd9619adfab833b2fd0ac8e6a)) * **deps-dev:** bump semantic-release from 17.3.0 to 17.3.1 ([f6ad19e](https://github.com/wmfs/pg-model/commit/f6ad19e7c373ba383ffa1f8df5d671b2e9d6da5d)) * **deps-dev:** bump semantic-release from 17.3.1 to 17.3.2 ([950dab8](https://github.com/wmfs/pg-model/commit/950dab85f836c6de2122308702a2d1f705dd7cfc)) * **deps-dev:** bump semantic-release from 17.3.2 to 17.3.3 ([ae02b29](https://github.com/wmfs/pg-model/commit/ae02b29e210a68acbe68123f8810f149505c559c)) * **deps-dev:** bump semantic-release from 17.3.3 to 17.3.4 ([e42ac26](https://github.com/wmfs/pg-model/commit/e42ac26ccaacab4c7ecdd4c7bc23bd594f408d79)) * **deps-dev:** bump semantic-release from 17.3.4 to 17.3.5 ([b2c53f8](https://github.com/wmfs/pg-model/commit/b2c53f8be54b17ac0607ad8edbcef6da4e163a39)) * **deps-dev:** bump semantic-release from 17.3.5 to 17.3.6 ([9cca082](https://github.com/wmfs/pg-model/commit/9cca082ad042800c113eb98c2e4b818f3a1b4ddb)) * **deps-dev:** bump semantic-release from 17.3.6 to 17.3.7 ([07002b6](https://github.com/wmfs/pg-model/commit/07002b63c0b9747626a87460ecd5aff691d27d04)) * **deps-dev:** bump semantic-release from 17.3.7 to 17.3.8 ([7a34768](https://github.com/wmfs/pg-model/commit/7a347687b68c78d581396c106e1954b9c8ef8911)) * **deps-dev:** bump semantic-release from 17.3.8 to 17.3.9 ([0fc578f](https://github.com/wmfs/pg-model/commit/0fc578f0312bc8d0fb12cf94fdabbc321b308c99)) * **deps-dev:** bump standard from 14.3.4 to 15.0.0 ([d1f886c](https://github.com/wmfs/pg-model/commit/d1f886c6580dff5586ae5e8c708e3afac7f737ca)) * **deps-dev:** bump standard from 15.0.0 to 15.0.1 ([e696781](https://github.com/wmfs/pg-model/commit/e696781e0a8886f78b06f403ef2b8418db827aa7)) * **deps-dev:** bump standard from 15.0.1 to 16.0.0 ([01f3e12](https://github.com/wmfs/pg-model/commit/01f3e129072ddca00ab9390d561a73cbb0a3121f)) * **deps-dev:** bump standard from 16.0.0 to 16.0.1 ([e06ccc7](https://github.com/wmfs/pg-model/commit/e06ccc72665fe60d4ef973c30f498e1c4d3724e9)) * **deps-dev:** bump standard from 16.0.1 to 16.0.2 ([22ee436](https://github.com/wmfs/pg-model/commit/22ee436eb88e66397355ce5f797bb9487db896bb)) * **deps-dev:** bump standard from 16.0.2 to 16.0.3 ([a754c25](https://github.com/wmfs/pg-model/commit/a754c25db6a51cf2c9e0dc025d723e75c925991d)) ### ⚙️ Continuous Integrations * **circle:** authenticate Docker image pull [ch2767] ([4ad76cc](https://github.com/wmfs/pg-model/commit/4ad76cca9859f738cf92fec9377e46c4fcaf4498)) * **circle:** cache dependencies [ch2770] ([5e54f83](https://github.com/wmfs/pg-model/commit/5e54f8313b6907b50fb528df08a530d9c6c9f51f)) * **circle:** separate linting job [ch1009] ([4e3a7fc](https://github.com/wmfs/pg-model/commit/4e3a7fc2d37e2fce88d4b5489a313e6baf5c40ac)) * **circle:** update build environment variable context name [ch2771] ([0c7b9cd](https://github.com/wmfs/pg-model/commit/0c7b9cd32a7b460d6f0b9294bb5872e4b2531cc5)) * **circle:** use tmpfs postgres image [ch2769] ([5bb9fd2](https://github.com/wmfs/pg-model/commit/5bb9fd2a78b4c27ca2ba7b74fe9d0e4b2209b505)) # [1.25.0](https://github.com/wmfs/pg-model/compare/v1.24.0...v1.25.0) (2020-10-21) ### ✨ Features * option for notEquals ([2836684](https://github.com/wmfs/pg-model/commit/28366843bb091f116e4eb98e894412019085418a)) ### 🛠 Builds * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.22.0 to 1.23.0 ([f75fe67](https://github.com/wmfs/pg-model/commit/f75fe679c8f0fe78927ec7e3063bdddbd8994480)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.23.0 to 1.25.0 ([2b05c64](https://github.com/wmfs/pg-model/commit/2b05c64413eeafc8cf732f7760c7f0673e31421d)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/pg-diff-sync from 1.21.0 to 1.22.0 ([fa74f88](https://github.com/wmfs/pg-model/commit/fa74f889baca2da3f8e778e068a82120a83333c0)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/pg-diff-sync from 1.22.0 to 1.23.0 ([e6a526a](https://github.com/wmfs/pg-model/commit/e6a526ad16ec2d0f8ddc7d0a819582cae39d7bd0)) * **deps-dev:** bump codecov from 3.7.2 to 3.8.0 ([79435fc](https://github.com/wmfs/pg-model/commit/79435fcf3b8c3bee27b23bc5c1b8a81d610628e6)) * **deps-dev:** bump cz-conventional-changelog from 3.2.0 to 3.2.1 ([91362cd](https://github.com/wmfs/pg-model/commit/91362cda25bf0a93ff820068045544dd9fff215e)) * **deps-dev:** bump cz-conventional-changelog from 3.2.1 to 3.3.0 ([e5c05c4](https://github.com/wmfs/pg-model/commit/e5c05c4d3c0b97af20f2bfd530371408061629e2)) * **deps-dev:** bump mocha from 8.1.1 to 8.1.2 ([21aebdc](https://github.com/wmfs/pg-model/commit/21aebdcb09f1398fcade403de776ca4df9df75d9)) * **deps-dev:** bump mocha from 8.1.2 to 8.1.3 ([e88d5d8](https://github.com/wmfs/pg-model/commit/e88d5d8365705198b2cbfdc87125661945dca4b3)) * **deps-dev:** bump mocha from 8.1.3 to 8.2.0 ([f0a1143](https://github.com/wmfs/pg-model/commit/f0a11433929558af6704fe83470e51651426bd61)) * **deps-dev:** bump semantic-release from 17.1.1 to 17.1.2 ([182ecf9](https://github.com/wmfs/pg-model/commit/182ecf90b3744e908f23ced517363398f49a122e)) * **deps-dev:** bump semantic-release from 17.1.2 to 17.2.0 ([f4fe012](https://github.com/wmfs/pg-model/commit/f4fe012fa7e4e67cff78ec0551b8b54c687c285c)) * **deps-dev:** bump semantic-release from 17.2.0 to 17.2.1 ([bac2964](https://github.com/wmfs/pg-model/commit/bac29641e165d6378515c1184c99784d0521db17)) # [1.24.0](https://github.com/wmfs/pg-model/compare/v1.23.0...v1.24.0) (2020-08-17) ### 🛠 Builds * **deps:** bump lodash from 4.17.19 to 4.17.20 ([a7a163a](https://github.com/wmfs/pg-model/commit/a7a163a6e1071a08b32f0f7fef69aec91f347a03)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.21.0 to 1.22.0 ([c46ac24](https://github.com/wmfs/pg-model/commit/c46ac24d93c55e4eb1e1dbc23b61e367f50eeedf)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/pg-diff-sync from 1.19.1 to 1.20.0 ([4a6ffb0](https://github.com/wmfs/pg-model/commit/4a6ffb0524f6b75538e5ff53fb0561fd76fd311e)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/pg-diff-sync from 1.20.0 to 1.21.0 ([383cf54](https://github.com/wmfs/pg-model/commit/383cf54401e182c5d20c70cd1f5393c4303c9816)) * **deps-dev:** bump codecov from 3.7.0 to 3.7.1 ([3f97549](https://github.com/wmfs/pg-model/commit/3f97549524860177f3cc3f9961eb085f9a6640ad)) * **deps-dev:** bump codecov from 3.7.1 to 3.7.2 ([d25e4fe](https://github.com/wmfs/pg-model/commit/d25e4fe514958e8d088268b7cc0d5f99777cdbae)) * **deps-dev:** bump mocha from 8.0.1 to 8.1.0 ([410b48c](https://github.com/wmfs/pg-model/commit/410b48c649e624d9dbb49fc201711f652e9358c9)) * **deps-dev:** bump mocha from 8.1.0 to 8.1.1 ([21f3e69](https://github.com/wmfs/pg-model/commit/21f3e69d96bd7d3d3b2add5b293a63a45b4654ed)) ### ⚙️ Continuous Integrations * **circle:** separate lint job [ch1009] ([cb2ff5e](https://github.com/wmfs/pg-model/commit/cb2ff5e173b74fcce6de590b3ade78dc67cddb70)) # [1.23.0](https://github.com/wmfs/pg-model/compare/v1.22.1...v1.23.0) (2020-07-13) ### 🛠 Builds * **deps:** bump lodash from 4.17.15 to 4.17.19 ([859d8c8](https://github.com/wmfs/pg-model/commit/859d8c838f1764526a231bd91e03ea6d4bb4e900)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.20.0 to 1.21.0 ([2abd46d](https://github.com/wmfs/pg-model/commit/2abd46dac2b1f915e383f86f0226b04c406f753f)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/pg-diff-sync from 1.19.0 to 1.19.1 ([007c30c](https://github.com/wmfs/pg-model/commit/007c30c054f8291194344c2df5f7fd35a7fe585b)) * **deps-dev:** bump codecov from 3.6.5 to 3.7.0 ([15d8136](https://github.com/wmfs/pg-model/commit/15d8136f4b0e01728b34f0304af165d0f0ba87c4)) * **deps-dev:** bump cz-conventional-changelog from 3.1.0 to 3.2.0 ([6e687a4](https://github.com/wmfs/pg-model/commit/6e687a4c19a2e78d60c25c82ac1f2c31fd8099d6)) * **deps-dev:** bump mocha from 7.1.2 to 7.2.0 ([c814d87](https://github.com/wmfs/pg-model/commit/c814d875a2b3749164bcde1d5e7063463aebeaae)) * **deps-dev:** bump mocha from 7.2.0 to 8.0.1 ([c98eeff](https://github.com/wmfs/pg-model/commit/c98eeff2d8f2e61e3b29b4f0d228020a5d42a8df)) * **deps-dev:** bump nyc from 15.0.1 to 15.1.0 ([1a81a48](https://github.com/wmfs/pg-model/commit/1a81a48983ccf46886aec8c5055c6aed535445ba)) * **deps-dev:** bump semantic-release from 17.0.7 to 17.0.8 ([2cfe7f1](https://github.com/wmfs/pg-model/commit/2cfe7f1ebedc4f3d0048f3e5e15b36b4f4bef070)) * **deps-dev:** bump semantic-release from 17.0.8 to 17.1.0 ([ca25867](https://github.com/wmfs/pg-model/commit/ca258673275556a7629741a7a8ffc41776636447)) * **deps-dev:** bump semantic-release from 17.1.0 to 17.1.1 ([9e5f4e7](https://github.com/wmfs/pg-model/commit/9e5f4e78fec0a205882ebc25bb7832f2b3bd4c74)) * **deps-dev:** bump standard from 14.3.3 to 14.3.4 ([61eeb95](https://github.com/wmfs/pg-model/commit/61eeb95fe10a4d7dc411115b72010ef493e48fe8)) ### ⚙️ Continuous Integrations * **circle:** use updated circle node image [skip ci] ([9472976](https://github.com/wmfs/pg-model/commit/94729765ec2bf32bb5138c6f0c7277be2432f38a)) ## [1.22.1](https://github.com/wmfs/pg-model/compare/v1.22.0...v1.22.1) (2020-04-30) ### 🐛 Bug Fixes * check rows has elements before attempting to access entries ([00858c1](https://github.com/wmfs/pg-model/commit/00858c12aa1670e0111dfc81d1a44e7cd05560a9)) ### 🛠 Builds * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/pg-diff-sync from 1.18.0 to 1.19.0 ([2f84cfb](https://github.com/wmfs/pg-model/commit/2f84cfb9c5b7d201ae0199670453089b131bf42b)) * **deps-dev:** bump mocha from 7.1.1 to 7.1.2 ([ae69a57](https://github.com/wmfs/pg-model/commit/ae69a5743f9fe87b30e6e0fa54c6a5fe69977442)) ### 📦 Code Refactoring * **Creator:** Prefer builtins to lodash methods ([88e16ec](https://github.com/wmfs/pg-model/commit/88e16ecddd6aa79d38e2ec94ca3104b7aef05977)) * **Destroyer:** Use Array.map in preference to a for loop ([0f7635a](https://github.com/wmfs/pg-model/commit/0f7635a60681672b7d705013c4b240e9abb4b384)) * **Finder:** Added findOne and findAll to Finder, simplify model ([89262e8](https://github.com/wmfs/pg-model/commit/89262e80ac043a889cda6e6d13b84069d05daa50)) * **Finder:** Eliminate use of async package. Move to async/await ([a0be44a](https://github.com/wmfs/pg-model/commit/a0be44a7721de1dfd253af58bc8025f5992c81e5)) * **Finder:** Replaced lodash methods with builtins. ([d12ce1c](https://github.com/wmfs/pg-model/commit/d12ce1cc6338382dcf1eb8c9f20750d26132be63)) * **Model:** Switch implementation from callback first to promise first. ([feb1304](https://github.com/wmfs/pg-model/commit/feb1304dd3f1614c6cd3515b2e51b8775e770ae6)) * **pre-statement-hook:** Prefer builtins to lodash methods ([3b9244f](https://github.com/wmfs/pg-model/commit/3b9244ff338101929bf6e77bc8ee5ae412a3325d)) * **tests:** Remove use of 'async' package ([6a8dc49](https://github.com/wmfs/pg-model/commit/6a8dc49320744d3b84e86e3f460b53fc30b9db8c)) * **Updater:** Prefer builtins to lodash methods. Split out named functions to clarify flow. ([3cf1b8b](https://github.com/wmfs/pg-model/commit/3cf1b8b6d4304234412ed10d83a55095f3d30276)) ### 💎 Styles * **Updater:** Lint fixes ([35cf1bc](https://github.com/wmfs/pg-model/commit/35cf1bc8b124e91914ea8cc5b18a7f4b165eac3f)) # [1.22.0](https://github.com/wmfs/pg-model/compare/v1.21.0...v1.22.0) (2020-04-22) ### 🛠 Builds * **deps:** Removed unused boom and debug dependencies ([dbc2a49](https://github.com/wmfs/pg-model/commit/dbc2a4976d749ce3c19056f82f7bc27ff94ea1ac)) * **deps-dev:** bump [@semantic-release](https://github.com/semantic-release)/changelog from 5.0.0 to 5.0.1 ([b0eeb5f](https://github.com/wmfs/pg-model/commit/b0eeb5fe55663958b6d9a7b6f202a70f09f5fff0)) * **deps-dev:** bump [@semantic-release](https://github.com/semantic-release)/git from 7.0.18 to 9.0.0 ([5a4833f](https://github.com/wmfs/pg-model/commit/5a4833fe53269c443007c1e7b73435a278fb438b)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.17.0 to 1.18.0 ([f6ec0c3](https://github.com/wmfs/pg-model/commit/f6ec0c37998e4ef504e2f84c7ecead3115acddc3)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.18.0 to 1.19.0 ([f05f5ba](https://github.com/wmfs/pg-model/commit/f05f5bae90b9ce632beb5d4f5468e5ac36b3b693)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.19.0 to 1.20.0 ([bbc9343](https://github.com/wmfs/pg-model/commit/bbc93431b962d92cd490f65582a6b39860eb0e6d)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/pg-diff-sync from 1.17.0 to 1.18.0 ([5736717](https://github.com/wmfs/pg-model/commit/57367170ebdc67cf63df5308f34b2306fbb39b08)) * **deps-dev:** bump conventional-changelog-metahub from 4.0.0 to 4.0.1 ([dd95f92](https://github.com/wmfs/pg-model/commit/dd95f92ea7732b146094bfc117201331f9e25e7a)) * **deps-dev:** bump mocha from 7.0.1 to 7.1.0 ([158449c](https://github.com/wmfs/pg-model/commit/158449c280a4eb42ac72e38ff65646560d2f0d38)) * **deps-dev:** bump mocha from 7.1.0 to 7.1.1 ([baf87cb](https://github.com/wmfs/pg-model/commit/baf87cbf3bd6fc08bd8564d785d38e1727e6c0a6)) * **deps-dev:** bump nyc from 15.0.0 to 15.0.1 ([e5f10c5](https://github.com/wmfs/pg-model/commit/e5f10c50f5f027949a22f686a27c67588eb42a65)) * **deps-dev:** bump semantic-release from 15.14.0 to 17.0.4 ([958de57](https://github.com/wmfs/pg-model/commit/958de5741de3bbe9085fcc635146ab775f1aa47b)) * **deps-dev:** bump semantic-release from 17.0.4 to 17.0.5 ([244e6e8](https://github.com/wmfs/pg-model/commit/244e6e8e70495d34cc4bc35f5476cc70d1f96d28)) * **deps-dev:** bump semantic-release from 17.0.5 to 17.0.6 ([55fde78](https://github.com/wmfs/pg-model/commit/55fde78b543b9bb93ffc8acc7ca3d8090f6b8c1b)) * **deps-dev:** bump semantic-release from 17.0.6 to 17.0.7 ([08adfb5](https://github.com/wmfs/pg-model/commit/08adfb5e2341a1755be678ff26ac1c3840d12edc)) * **deps-dev:** bump standard from 14.3.1 to 14.3.2 ([ddbe73e](https://github.com/wmfs/pg-model/commit/ddbe73e95de2e19abdaabdd7e3d5a843b1b2dee1)) * **deps-dev:** bump standard from 14.3.2 to 14.3.3 ([bbe4276](https://github.com/wmfs/pg-model/commit/bbe42765921cd47c55fe5c52840ed99fb18b1f28)) ### ⚙️ Continuous Integrations * **circle:** add context env var config to config.yml ([870fbbb](https://github.com/wmfs/pg-model/commit/870fbbb2976a3ac942ef8e37d90610fc903b8585)) # [1.21.0](https://github.com/wmfs/pg-model/compare/v1.20.0...v1.21.0) (2020-02-26) ### 🛠 Builds * **deps:** bump async from 3.1.1 to 3.2.0 ([c495e0f](https://github.com/wmfs/pg-model/commit/c495e0f9629340384e1a015b2ff42a0022934072)) * **deps-dev:** bump [@semantic-release](https://github.com/semantic-release)/changelog from 3.0.6 to 5.0.0 ([2b5f0dc](https://github.com/wmfs/pg-model/commit/2b5f0dc8e398f4eb1b3bbd361e276063f2ea5c9f)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.14.0 to 1.15.0 ([34b41ea](https://github.com/wmfs/pg-model/commit/34b41ea5e4904ff74454ca0cefca2965ad06b1cc)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.15.0 to 1.16.0 ([1e7849e](https://github.com/wmfs/pg-model/commit/1e7849ebcf369b1d9a5dec2b1c3bffb38573b06d)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.16.0 to 1.17.0 ([b16c723](https://github.com/wmfs/pg-model/commit/b16c72363d63495f999e1c6382629fd669076e0b)) * **deps-dev:** bump codecov from 3.6.2 to 3.6.3 ([da517a9](https://github.com/wmfs/pg-model/commit/da517a92cd79cff8b92d455df3c581393850081f)) * **deps-dev:** bump codecov from 3.6.3 to 3.6.4 ([de29e1b](https://github.com/wmfs/pg-model/commit/de29e1bdfd10b70831ed783ea9e5cd58fc36d26d)) * **deps-dev:** bump codecov from 3.6.4 to 3.6.5 ([362f86b](https://github.com/wmfs/pg-model/commit/362f86b7cd04cd514d54e50dd9c88551d2dbc1ab)) * **deps-dev:** bump cz-conventional-changelog from 3.0.2 to 3.1.0 ([5358e36](https://github.com/wmfs/pg-model/commit/5358e369a85b753b698a4a3aa383e00ef2b0b5dc)) # [1.20.0](https://github.com/wmfs/pg-model/compare/v1.19.0...v1.20.0) (2020-01-27) ### 🛠 Builds * **deps:** bump async from 2.6.3 to 3.1.1 ([34c7bb2](https://github.com/wmfs/pg-model/commit/34c7bb2f09a15f4e2836a56a3cf1a3a5bc0d1419)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/pg-diff-sync from 1.15.0 to 1.16.0 ([890282a](https://github.com/wmfs/pg-model/commit/890282ad16a61f9a364289cbdae247f067b47a2d)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/pg-diff-sync from 1.16.0 to 1.17.0 ([2201f59](https://github.com/wmfs/pg-model/commit/2201f598e1d58856a67e718a735454e6465403f1)) * **deps-dev:** bump codecov from 3.6.1 to 3.6.2 ([090d465](https://github.com/wmfs/pg-model/commit/090d465369450780bf72c53191dc502e39a73064)) * **deps-dev:** bump conventional-changelog-metahub from 3.0.0 to 4.0.0 ([14536bf](https://github.com/wmfs/pg-model/commit/14536bfcf8a5377add5bf3ccf4768a39226d47ca)) * **deps-dev:** bump mocha from 7.0.0 to 7.0.1 ([fcddb4d](https://github.com/wmfs/pg-model/commit/fcddb4d66bb4c27274d03b0256f7be3d93d0b85e)) * **deps-dev:** update standard requirement from 12.0.1 to 14.3.1 ([e040f86](https://github.com/wmfs/pg-model/commit/e040f86e09fe2abc87f61fec48749fa2cd6cac6c)) ### 💎 Styles * Do not access Object.prototype method 'hasOwnProperty' from target object ([10ceee9](https://github.com/wmfs/pg-model/commit/10ceee9ce2057ff6829828cb29353b20faf3bb29)) * standard --fix ([9972fcf](https://github.com/wmfs/pg-model/commit/9972fcf6f55a464c6d4906601fc01001985e2203)) * typo ([80a538b](https://github.com/wmfs/pg-model/commit/80a538b7c8190a55a3cc152915f35a18ba927381)) # [1.19.0](https://github.com/wmfs/pg-model/compare/v1.18.0...v1.19.0) (2020-01-07) ### 🛠 Builds * **deps:** bump dottie from 2.0.1 to 2.0.2 ([c91ba35](https://github.com/wmfs/pg-model/commit/c91ba35877293b2010e8521ac7238def127b6078)) # [1.18.0](https://github.com/wmfs/pg-model/compare/v1.17.0...v1.18.0) (2020-01-07) ### 🛠 Builds * **deps:** update async requirement from 2.6.1 to 2.6.3 ([196ab93](https://github.com/wmfs/pg-model/commit/196ab932685844481619511113f734c27fcb6c59)) * **deps-dev:** bump [@wmfs](https://github.com/wmfs)/hl-pg-client from 1.13.0 to 1.14.0 ([d510ffb](https://github.com/wmfs/pg-model/commit/d510ffb3391045160e19df91815b182a77435caf)) * **deps-dev:** bump mocha from 6.2.2 to 7.0.0 ([b8e7f15](https://github.com/wmfs/pg-model/commit/b8e7f153d6a56e1a18e3dd997066c76ef868752c)) * **deps-dev:** bump packages ([529df42](https://github.com/wmfs/pg-model/commit/529df42b95b5816d44839f5d3ec19b5818206b84)) * **deps-dev:** update [@semantic-release](https://github.com/semantic-release)/changelog requirement ([ab6a239](https://github.com/wmfs/pg-model/commit/ab6a239410260fdaa7a886eae56ec890ee5cbdb5)) * **deps-dev:** update [@wmfs](https://github.com/wmfs)/hl-pg-client requirement ([b9b2c05](https://github.com/wmfs/pg-model/commit/b9b2c053ea4df03f5fe3ef82287785dfe444c1df)) * **deps-dev:** update [@wmfs](https://github.com/wmfs)/pg-diff-sync requirement ([7db8651](https://github.com/wmfs/pg-model/commit/7db86513be68efdf3529ac7d5e39c5012b3457fd)) * **deps-dev:** update cz-conventional-changelog requirement ([d0ee3ad](https://github.com/wmfs/pg-model/commit/d0ee3adf5dbb4af22f8f9ae3ad4e301cb766379b)) * **deps-dev:** update mocha requirement from 6.1.4 to 6.2.0 ([f4300e0](https://github.com/wmfs/pg-model/commit/f4300e0d1240dd61fb7c4c5416e5d734a4364537)) * **deps-dev:** update semantic-release requirement ([5db4f9c](https://github.com/wmfs/pg-model/commit/5db4f9c25481674384097d1aae10bb933eeac36e)) # [1.17.0](https://github.com/wmfs/pg-model/compare/v1.16.0...v1.17.0) (2019-09-09) ### 🛠 Builds * **deps:** update lodash requirement from 4.17.14 to 4.17.15 ([cffa641](https://github.com/wmfs/pg-model/commit/cffa641)) # [1.16.0](https://github.com/wmfs/pg-model/compare/v1.15.0...v1.16.0) (2019-07-11) ### 🛠 Builds * **deps:** update lodash requirement from 4.17.11 to 4.17.14 ([59c55bd](https://github.com/wmfs/pg-model/commit/59c55bd)) * **deps-dev:** update [@semantic-release](https://github.com/semantic-release)/git requirement ([82a7bf7](https://github.com/wmfs/pg-model/commit/82a7bf7)) * **deps-dev:** update [@semantic-release](https://github.com/semantic-release)/git requirement ([da09341](https://github.com/wmfs/pg-model/commit/da09341)) * **deps-dev:** update [@wmfs](https://github.com/wmfs)/hl-pg-client requirement ([bee3623](https://github.com/wmfs/pg-model/commit/bee3623)) * **deps-dev:** update [@wmfs](https://github.com/wmfs)/pg-diff-sync requirement ([c42d504](https://github.com/wmfs/pg-model/commit/c42d504)) * **deps-dev:** update codecov requirement from 3.1.0 to 3.5.0 ([4915560](https://github.com/wmfs/pg-model/commit/4915560)) * **deps-dev:** update mocha requirement from 5.2.0 to 6.1.4 ([a92051e](https://github.com/wmfs/pg-model/commit/a92051e)) * **deps-dev:** update nyc requirement from 13.2.0 to 14.1.1 ([afdbaf9](https://github.com/wmfs/pg-model/commit/afdbaf9)) # [1.15.0](https://github.com/wmfs/pg-model/compare/v1.14.0...v1.15.0) (2019-04-09) ### ✨ Features * Model.find options can now take fields array ([1a338c4](https://github.com/wmfs/pg-model/commit/1a338c4)) ### 💎 Styles * remove an empty line ([da4f907](https://github.com/wmfs/pg-model/commit/da4f907)) # [1.14.0](https://github.com/wmfs/pg-model/compare/v1.13.0...v1.14.0) (2019-04-05) ### ✨ Features * find filter - passing an array of values generates an OR subclause ([cb43876](https://github.com/wmfs/pg-model/commit/cb43876)) ### 📦 Code Refactoring * Pull out buildWhereClause in option-parser ([a5469ee](https://github.com/wmfs/pg-model/commit/a5469ee)) * Swapped out _.forOwn in favour of for...of ([deef9d7](https://github.com/wmfs/pg-model/commit/deef9d7)) # [1.13.0](https://github.com/wmfs/pg-model/compare/v1.12.0...v1.13.0) (2019-02-08) ### 🛠 Builds * **deps:** update debug requirement from 4.1.0 to 4.1.1 ([b429b9f](https://github.com/wmfs/pg-model/commit/b429b9f)) * **deps-dev:** update [@semantic-release](https://github.com/semantic-release)/changelog requirement ([983c1c4](https://github.com/wmfs/pg-model/commit/983c1c4)) * **deps-dev:** update [@semantic-release](https://github.com/semantic-release)/git requirement ([21accd0](https://github.com/wmfs/pg-model/commit/21accd0)) * **deps-dev:** update nyc requirement from 13.1.0 to 13.2.0 ([41908d6](https://github.com/wmfs/pg-model/commit/41908d6)) * **deps-dev:** update semantic-release requirement ([7a1aedc](https://github.com/wmfs/pg-model/commit/7a1aedc)) # [1.12.0](https://github.com/wmfs/pg-model/compare/v1.11.0...v1.12.0) (2018-12-21) ### 🛠 Builds * **deps:** update boom requirement from 7.2.2 to 7.3.0 ([2760fdf](https://github.com/wmfs/pg-model/commit/2760fdf)) * **deps-dev:** update [@wmfs](https://github.com/wmfs)/hl-pg-client requirement ([beb3327](https://github.com/wmfs/pg-model/commit/beb3327)) * **deps-dev:** update [@wmfs](https://github.com/wmfs)/pg-diff-sync requirement ([77179e1](https://github.com/wmfs/pg-model/commit/77179e1)) * **deps-dev:** update semantic-release requirement ([5b42b31](https://github.com/wmfs/pg-model/commit/5b42b31)) * **deps-dev:** update semantic-release requirement ([640c3f0](https://github.com/wmfs/pg-model/commit/640c3f0)) * **deps-dev:** update semantic-release requirement ([0635da3](https://github.com/wmfs/pg-model/commit/0635da3)) * **deps-dev:** update semantic-release requirement ([915f655](https://github.com/wmfs/pg-model/commit/915f655)) * **deps-dev:** update semantic-release requirement ([ef9838f](https://github.com/wmfs/pg-model/commit/ef9838f)) ### ⚙️ Continuous Integrations * **circle:** fix the env for postgres ([63066fc](https://github.com/wmfs/pg-model/commit/63066fc)) # [1.11.0](https://github.com/wmfs/pg-model/compare/v1.10.0...v1.11.0) (2018-11-03) ### 🛠 Builds * **deps:** update boom requirement from 7.2.1 to 7.2.2 ([1ee4fa0](https://github.com/wmfs/pg-model/commit/1ee4fa0)) * **deps-dev:** update [@wmfs](https://github.com/wmfs)/pg-diff-