{"_id":"@atelierfabien/loopback-connector-mongodb","_rev":"13-abc05400f869db02a6adc3dc6000ebd2","name":"@atelierfabien/loopback-connector-mongodb","dist-tags":{"latest":"4.0.6"},"versions":{"1.15.2":{"name":"@atelierfabien/loopback-connector-mongodb","version":"1.15.2","keywords":["connector","datasource","loopback","strongloop","mongodb"],"license":"MIT","_id":"@atelierfabien/loopback-connector-mongodb@1.15.2","maintainers":[{"name":"atelierfabien","email":"info@atelierfabien.be"}],"contributors":[{"url":"https://github.com/bajtos","name":"Miroslav Bajtos"},{"url":"https://github.com/raymondfeng","name":"Raymond Feng"},{"url":"https://github.com/ritch","name":"Ritchie Martori"},{"url":"https://github.com/superkhau","name":"Simon Ho"}],"homepage":"https://github.com/strongloop/loopback-connector-mongodb#readme","bugs":{"url":"https://github.com/strongloop/loopback-connector-mongodb/issues"},"dist":{"shasum":"a375c4da041a22ca1f5e14b72b04277f1ccca3a0","tarball":"https://registry.npmjs.org/@atelierfabien/loopback-connector-mongodb/-/loopback-connector-mongodb-1.15.2.tgz","integrity":"sha512-nz778vYrDuwWhFjLb83FkhskAvjqeO2R5Clu9wpByPpa9uE3Mt/M689cKUB2vIJgJcmoaSnakqbZ6K0WMifA3Q==","signatures":[{"sig":"MEUCIQD0LnQAY/hwAhghqedTuM2CTlMXQnfrfkX4ucPe2WAW1AIgPJc2sPGc/jUGW2BoKN0Uuk8YmT77MzrgZFRTOsoO168=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"a375c4da041a22ca1f5e14b72b04277f1ccca3a0","gitHead":"fe3495a103386ea80ac983bde2585fb5ee1c8355","scripts":{"lint":"eslint .","test":"mocha -G --timeout 10000 test/*.test.js","posttest":"npm run lint","benchmarks":"make benchmarks","leak-detection":"make leak-detection"},"_npmUser":{"name":"atelierfabien","email":"info@atelierfabien.be"},"repository":{"url":"git://github.com/strongloop/loopback-connector-mongodb.git","type":"git"},"_npmVersion":"2.15.10","description":"The official MongoDB connector for the LoopBack framework.","directories":{},"_nodeVersion":"4.2.2","dependencies":{"async":"^1.0.0","debug":"^2.1.1","mongodb":"^2.0.35","loopback-connector":"^2.2.0"},"devDependencies":{"rc":"^1.0.0","mocha":"^2.1.0","sinon":"^1.15.4","eslint":"^2.7.0","semver":"^4.2.0","should":"^8.0.2","bluebird":"^2.9.12","benchmark":"^1.0.0","memwatch-next":"^0.2.6","eslint-config-loopback":"^1.0.0","loopback-datasource-juggler":"^2.28.0"},"_npmOperationalInternal":{"tmp":"tmp/loopback-connector-mongodb-1.15.2.tgz_1473271944957_0.8505146545358002","host":"packages-12-west.internal.npmjs.com"}},"4.0.0":{"name":"@atelierfabien/loopback-connector-mongodb","version":"4.0.0","keywords":["connector","datasource","loopback","strongloop","mongodb"],"license":"MIT","_id":"@atelierfabien/loopback-connector-mongodb@4.0.0","maintainers":[{"name":"atelierfabien","email":"info@atelierfabien.be"}],"contributors":[{"url":"https://github.com/bajtos","name":"Miroslav Bajtos"},{"url":"https://github.com/raymondfeng","name":"Raymond Feng"},{"url":"https://github.com/ritch","name":"Ritchie Martori"},{"url":"https://github.com/superkhau","name":"Simon Ho"}],"homepage":"https://github.com/fabien/loopback-connector-mongodb#readme","bugs":{"url":"https://github.com/fabien/loopback-connector-mongodb/issues"},"dist":{"shasum":"57c0b7b432545068b1d4f0dddbad5a817cbf6a68","tarball":"https://registry.npmjs.org/@atelierfabien/loopback-connector-mongodb/-/loopback-connector-mongodb-4.0.0.tgz","fileCount":55,"integrity":"sha512-fzWr02+z+xrSGhjeS++haHxV9q1n+skIdV1JroiPazK+qyXiFcv5JTZEB2cwRktLzd6Ugd55U1OpsHtsXGfzUQ==","signatures":[{"sig":"MEUCIF/phUyvgvf56l8CnkMHfIcrwGm4L/ARH/SNu8crcQzNAiEA0LDsuXLLw5cavPFptcsxZ/xaoSL+mPE9xrD7a/70E40=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":259228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqHMfCRA9TVsSAnZWagAAIusP/0AhRaKXPL4tQDw+9olh\nO8Y/G3zjDKPX7t62NU1jj3XBUDdDJmNMmu9OVz1tDT+xzUZ+x85s8srblgN2\n2PHEwkDmhtb1+2xOiqqykWtwRS3cWlzlMjiwi4eyOQawX2TsjGP7NDRHziLG\nuWOi2SarkNUJhknrvrKGI7RrzS5JS9qUBWcVwGzRU/BRrpjwpmOLod/QR2Ti\nNFQvcT4jdN8GPXAXN1btbDY2ysHNaRiPQNAMWtpqDE9HMVlM97gQLd8cUi3p\nfZOAjba35yr8Yc0Wy9I9hGnJ4pM/xKMGNednsRXXPZJb0iZ26r9P81peM540\nQ292GvRS7vkXoxPn1cKPT8szkHDJgI6lGgHFO0ff8/NM7LdCblRoNPPHlDu0\n9DAy5c3DzlyOIWXKY8H5bkHWiKJ61V8YGWgWQBVhVpSeWvrsx7K9GrtX8CPs\nyakdTN0K1KSZrOd94oYBhAF3kvLVJ5Ho9T42cLEF1uZzyw8gFwiP0qGOg5RV\nqf3kwJNcIXE54053Pk55wRZOvseuRIpgsRzg9v7XmtP/oWxUse5bsX/SHBV+\nSZuIzmgpV3UJDUDv0ucOizghkNKqXnjgO5wt7xWHT9K4DLVDRD7NiCRFwBYM\nxalBxxbY4n8QHj6iY/2vcIqb2X6AcvRRuSWDdxHKruB+7op+3il/vIrCXlgL\ncxqC\r\n=fERx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=6"},"gitHead":"79c68ea7de3418f1841723c7b64f8aa2c3ba9001","scripts":{"lint":"eslint .","test":"mocha","posttest":"npm run lint","benchmarks":"make benchmarks","leak-detection":"make leak-detection"},"_npmUser":{"name":"atelierfabien","email":"info@atelierfabien.be"},"repository":{"url":"git://github.com/fabien/loopback-connector-mongodb.git","type":"git"},"_npmVersion":"6.9.0","description":"The official MongoDB connector for the LoopBack framework.","directories":{},"_nodeVersion":"10.15.0","dependencies":{"bson":"^1.0.6","async":"^2.6.1","debug":"^3.1.0","mongodb":"^3.1.13","strong-globalize":"^4.1.1","loopback-connector":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"rc":"^1.2.8","mocha":"^5.2.0","sinon":"^6.1.3","eslint":"^5.1.0","semver":"^5.5.1","should":"^13.2.1","bluebird":"^3.5.2","benchmark":"^2.1.4","eslint-config-loopback":"^10.0.0","loopback-datasource-juggler":"^3.23.0"},"_npmOperationalInternal":{"tmp":"tmp/loopback-connector-mongodb_4.0.0_1554543390499_0.9051985305776264","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"@atelierfabien/loopback-connector-mongodb","version":"4.0.1","keywords":["connector","datasource","loopback","strongloop","mongodb"],"license":"MIT","_id":"@atelierfabien/loopback-connector-mongodb@4.0.1","maintainers":[{"name":"atelierfabien","email":"info@atelierfabien.be"}],"contributors":[{"url":"https://github.com/bajtos","name":"Miroslav Bajtos"},{"url":"https://github.com/raymondfeng","name":"Raymond Feng"},{"url":"https://github.com/ritch","name":"Ritchie Martori"},{"url":"https://github.com/superkhau","name":"Simon Ho"}],"homepage":"https://github.com/fabien/loopback-connector-mongodb#readme","bugs":{"url":"https://github.com/fabien/loopback-connector-mongodb/issues"},"dist":{"shasum":"67f26c68b3ac03bb62cffa539db9ea06fba1d782","tarball":"https://registry.npmjs.org/@atelierfabien/loopback-connector-mongodb/-/loopback-connector-mongodb-4.0.1.tgz","fileCount":55,"integrity":"sha512-GjX+Wq//s1zTzX+G4wu+Y07XHmZm7UDSLLI4WBkRn1j1LZ3UMzIh7RplxpUpK41ENYtmTC7I+jBQXcA8xIA4FQ==","signatures":[{"sig":"MEUCIQCyQ08rGPqYfWxy/PnjjPVo9c+EJGk17otn7ZnNOoay1wIgREPlfDUmHxu7psKMSxvl5Ad7/lsAdX4q1G/ez11KGSI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":259313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmeBMCRA9TVsSAnZWagAAbH8QAJjrDF2ucsVDVNMBp87y\nb/mwPv6rwFc3HuApFXP+PbpVN+8YDeC7RTRJCEfv8gTRBk+NEgMd96eaKAr0\ntvyH9T4uZ6DQztLVUYLHFAHRUDvupRGKDhhVisglvFx9pw48p3dhdDM9NuqW\nOhmvU63CL1qqBFbyBSz9iz6Y+v6LwacprUSm10KJOrzXf8+PI1oJZPxHKpB5\nfbmIlVBhCeb3mJIpOLODIYOdXyJ0pqX9pmUqcruJxZA+E3383NIGJxfksjjf\nK6zVGW+dQ7loaKFU5FJ2E3z7sRRe5apb1ssonsh90CyNIwituGdPhr7zBX5p\n1KYIwK0CQ6so0sZfSMp/p4rBDu1jq503ASKup2DWwBaSa72c05Cs7UyzxEm5\n4zGC112vNW2iWp/dzIzpdWaNh70QG8idGvdFteXu9iogi+BDsLu4q+KD7PMa\n2QmcIKVQWeX8GLg4JbQlKNvHjCl4jlChh9zxJk+ZBCet+xnALVhagS0vhukh\ntK2HBoVkJfsF9/esp5jt4uTlR32p/dAdjDTnuaRzKt+NRd4LNjY3oJYG56iT\nOxhQajbUlY/Bh7p2qSTxzQkNNhuxzRyDEBgcplptaChvJj4DwVAOcZ7xONGE\n1ty4dG04t68O3b+h2oCO0JDLLWyuqTkH+/qTCYtcu1ZHr5feE3Uh8GX/fqyr\n06Rj\r\n=ZaG2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=6"},"gitHead":"79c68ea7de3418f1841723c7b64f8aa2c3ba9001","scripts":{"lint":"eslint .","test":"mocha","posttest":"npm run lint","benchmarks":"make benchmarks","leak-detection":"make leak-detection"},"_npmUser":{"name":"atelierfabien","email":"info@atelierfabien.be"},"repository":{"url":"git://github.com/fabien/loopback-connector-mongodb.git","type":"git"},"_npmVersion":"6.9.0","description":"The official MongoDB connector for the LoopBack framework.","directories":{},"_nodeVersion":"10.15.0","dependencies":{"bson":"^1.0.6","async":"^2.6.1","debug":"^3.1.0","mongodb":"^3.1.13","strong-globalize":"^4.1.1","loopback-connector":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"rc":"^1.2.8","mocha":"^5.2.0","sinon":"^6.1.3","eslint":"^5.1.0","semver":"^5.5.1","should":"^13.2.1","bluebird":"^3.5.2","benchmark":"^2.1.4","eslint-config-loopback":"^10.0.0","loopback-datasource-juggler":"^3.23.0"},"_npmOperationalInternal":{"tmp":"tmp/loopback-connector-mongodb_4.0.1_1570365516033_0.45612377514785907","host":"s3://npm-registry-packages"}},"4.0.2":{"name":"@atelierfabien/loopback-connector-mongodb","version":"4.0.2","keywords":["connector","datasource","loopback","strongloop","mongodb"],"license":"MIT","_id":"@atelierfabien/loopback-connector-mongodb@4.0.2","maintainers":[{"name":"atelierfabien","email":"info@atelierfabien.be"}],"contributors":[{"url":"https://github.com/bajtos","name":"Miroslav Bajtos"},{"url":"https://github.com/raymondfeng","name":"Raymond Feng"},{"url":"https://github.com/ritch","name":"Ritchie Martori"},{"url":"https://github.com/superkhau","name":"Simon Ho"}],"homepage":"https://github.com/fabien/loopback-connector-mongodb#readme","bugs":{"url":"https://github.com/fabien/loopback-connector-mongodb/issues"},"dist":{"shasum":"9c409f0410518f30673640293917c5d2aee8b952","tarball":"https://registry.npmjs.org/@atelierfabien/loopback-connector-mongodb/-/loopback-connector-mongodb-4.0.2.tgz","fileCount":55,"integrity":"sha512-EGhMGGhMmP4yppMosANmSv9bCAMN78X9cDg9c5q3IV0jH697b8frTlv7c9vfD3N6fLDCGTGC1wVrdufTSuO8SQ==","signatures":[{"sig":"MEYCIQDp2eWsqgKSTPpJ1UbGqNYuN6ooQBRKjpn4wdtA9VsscQIhAI9bKVXULOmIGp/CNXp529GbTvlKLHwZJqgBepdulRI5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":259660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJej1KLCRA9TVsSAnZWagAAIq8P/3ff0VexfrhH+NH4xAhc\ns21fpoaEEQSAx/D1FbI+niLCDBfDXq3524z6pkmNhe7Qsat+BMQb/FzuYGva\nFZ9ZqU/7odFZnvXqou6QbXIGNmrOuRBfKkogg0QuOesnWACETP6qUwkd0Zoo\np6y4WyoHGxF8knZIH1VX6FzWpZmq8zcNTIddVn7kQZ7vSfZHg2+s7Zajhw6f\nOmJVcB15Y1zxXwr2m7EiXi5G8zTj6VU7+geAkpq0UTvCdxDHVK9994tuPifz\nUTsu7Yku5DTpZvMiIF4T1lHwGoneVLRbiEzpgQiVV7iDGrYkGWJGbsQcqq7h\nFzECrZvGSJjn1mJnP9xV/QemyFi0Zp44NCZJ4c+boQhC9PavckyWkS3zq3TY\nYtO6Lv2CnxMxj859qxFuQr4wznlR83JX7lWfv/hyI9iUBW71kigt9avPghkb\noerIrt5Jb4pNohPNyorUlcTXrxK8Q4vrEaNSsqBD3cbNLn469In5zgQmNwwO\npZsekn4MczcBWz9/H0gzsP8D8ed2d7Z04u+tb905wKu9d+x5NkG5n+8aeEES\n6RtBeLF5yOoT7j2hYfR2nhe3oBNKrV95v2sAwXvj+JC+AA/vG3bXMa4Wn/99\nQS9ELfHFkLsJCtpZvgOidHR7+LCSxNGGoTZgm1c3Ma4AoQdU3nYnoSkC5o1H\nSGlC\r\n=AQd5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=6"},"gitHead":"5a6341aed941df72dfbe9bf287ec08b73440c59d","scripts":{"lint":"eslint .","test":"mocha","posttest":"npm run lint","benchmarks":"make benchmarks","leak-detection":"make leak-detection"},"_npmUser":{"name":"atelierfabien","email":"info@atelierfabien.be"},"repository":{"url":"git://github.com/fabien/loopback-connector-mongodb.git","type":"git"},"_npmVersion":"6.9.0","description":"The official MongoDB connector for the LoopBack framework.","directories":{},"_nodeVersion":"10.15.0","dependencies":{"bson":"^1.0.6","async":"^2.6.1","debug":"^3.1.0","mongodb":"^3.5.5","strong-globalize":"^4.1.1","loopback-connector":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"rc":"^1.2.8","mocha":"^5.2.0","sinon":"^6.1.3","eslint":"^5.1.0","semver":"^5.5.1","should":"^13.2.1","bluebird":"^3.5.2","benchmark":"^2.1.4","eslint-config-loopback":"^10.0.0","loopback-datasource-juggler":"^3.23.0"},"_npmOperationalInternal":{"tmp":"tmp/loopback-connector-mongodb_4.0.2_1586451082495_0.2509541784201508","host":"s3://npm-registry-packages"}},"4.0.3":{"name":"@atelierfabien/loopback-connector-mongodb","version":"4.0.3","keywords":["connector","datasource","loopback","strongloop","mongodb"],"license":"MIT","_id":"@atelierfabien/loopback-connector-mongodb@4.0.3","maintainers":[{"name":"atelierfabien","email":"info@atelierfabien.be"}],"contributors":[{"url":"https://github.com/bajtos","name":"Miroslav Bajtos"},{"url":"https://github.com/raymondfeng","name":"Raymond Feng"},{"url":"https://github.com/ritch","name":"Ritchie Martori"},{"url":"https://github.com/superkhau","name":"Simon Ho"}],"homepage":"https://github.com/fabien/loopback-connector-mongodb#readme","bugs":{"url":"https://github.com/fabien/loopback-connector-mongodb/issues"},"dist":{"shasum":"a53c8926920042524e5658faa304a1fd867cfff6","tarball":"https://registry.npmjs.org/@atelierfabien/loopback-connector-mongodb/-/loopback-connector-mongodb-4.0.3.tgz","fileCount":54,"integrity":"sha512-zdm+FdOa0CubTCG1r7X6oWTriwKIqNjBbVWKpZxUFKI0bM3QeI968yY8/QHefEzKvWFT7M6jSgw7X8rHIkmlsg==","signatures":[{"sig":"MEQCIBhdnOjpygn53adxJZLFjLf/zE0z8WgStW6UkyJVsXvRAiAc1/kUc5wT0sOh/jLZSMZBuuwAVVy6Nrm34LW+xy/u1Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":253666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey5I0CRA9TVsSAnZWagAApa8P/037yOaJS60w0urprhce\nMg6S/h26UZ4UwXQGNMqXayxrmfAI65KpJB9G8MywB34pMDfrB6r+805ef1nU\nx7eM/vJTaep8gJ1H+xxJNHnFcjuDJDfkH9NCUEjEze5O+dwQyWhmFUvzgXky\n6AH2pLVAXn6OwIxXk2f/QvSDZdEpzuaOhbeUN2h4hw92txLn0TXgW1/6WnOL\nJYFV2X/zsNiK9BER4VyOHr1SdcDmMvbY9hXB6D6lrc3rL/2gvucdK8OzV3il\nHMXq5C/Tz++P95TieWu8f5T5XpTi4ct27aGTR9cfaPQJvr2i5KkcPjcXq7Ly\nx75ft6Zc0a6GXdoIUhYkhaO55XsLZauENRYeQ6gKSjDIi+10NJwf1YkC9438\nN0Ow7oLEGEXyQD9a2WQZrYVFSTJ6KT81S5F4aj7xEoFAR6upXvMnpjspGLQj\n3ZpoZ1ZptFz2o8cAYz5bYzoSH1/rQH9imHAVnxhJ8E807+sSC72+HKTyzMXO\nDi2CaTA18DIQe6qxuqZjfZ1gGL5OYwWrvgVoruTDK10UR2wDiNon6g5oM0zu\nzGlr9bw5zVdATkh7WRKhhD8Gdr974EiU4tEx3UgtlCSbygB6SAc7/T74gXca\ngTB7S0NO8RE7+Ixn+pilr5UOE8CRKUDAj8sxK75aIJfxWOXPdkroNd+QV1BH\nsb+U\r\n=7UqP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=6"},"gitHead":"129cb5fe6d88dc9f475dd080d5f4b16a84c2305e","scripts":{"lint":"eslint .","test":"mocha","posttest":"npm run lint","benchmarks":"make benchmarks","leak-detection":"make leak-detection"},"_npmUser":{"name":"atelierfabien","email":"info@atelierfabien.be"},"repository":{"url":"git://github.com/fabien/loopback-connector-mongodb.git","type":"git"},"_npmVersion":"6.14.5","description":"The official MongoDB connector for the LoopBack framework.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"async":"^2.6.1","debug":"^3.1.0","mongodb":"^3.5.7","strong-globalize":"^4.1.1","loopback-connector":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"rc":"^1.2.8","mocha":"^5.2.0","sinon":"^6.1.3","eslint":"^5.1.0","semver":"^5.5.1","should":"^13.2.1","bluebird":"^3.5.2","benchmark":"^2.1.4","eslint-config-loopback":"^10.0.0","loopback-datasource-juggler":"^3.23.0"},"_npmOperationalInternal":{"tmp":"tmp/loopback-connector-mongodb_4.0.3_1590399539964_0.5639568324662942","host":"s3://npm-registry-packages"}},"4.0.4":{"name":"@atelierfabien/loopback-connector-mongodb","version":"4.0.4","keywords":["connector","datasource","loopback","strongloop","mongodb"],"license":"MIT","_id":"@atelierfabien/loopback-connector-mongodb@4.0.4","maintainers":[{"name":"atelierfabien","email":"info@atelierfabien.be"}],"contributors":[{"url":"https://github.com/bajtos","name":"Miroslav Bajtos"},{"url":"https://github.com/raymondfeng","name":"Raymond Feng"},{"url":"https://github.com/ritch","name":"Ritchie Martori"},{"url":"https://github.com/superkhau","name":"Simon Ho"}],"homepage":"https://github.com/fabien/loopback-connector-mongodb#readme","bugs":{"url":"https://github.com/fabien/loopback-connector-mongodb/issues"},"dist":{"shasum":"e90fa7c2ef60fbe87f766b687276f484dc98d952","tarball":"https://registry.npmjs.org/@atelierfabien/loopback-connector-mongodb/-/loopback-connector-mongodb-4.0.4.tgz","fileCount":54,"integrity":"sha512-yTUcvTLyplmyFPq/WTlooMUp0V/pcPL4RG0xXYoJ1xjs4yoUkbB/OcMXtnOADcICL2IvagSFqWvqzLhyknHXRA==","signatures":[{"sig":"MEUCIQDHbY/uST0k08rM4++PYXEUhUUceF5XegFmgagL+qmOZwIgXpp3JC0gPR7p62hwf4bG0e6SmifzwgIbCCcNOMlEKc0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":257981,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey83JCRA9TVsSAnZWagAAGuQQAIvDl9KDSEI2kk7cE9cP\nMJV4IZX0wOCFQvwj8vVyZ+0swkcwZR0RDZVJeIb4O5sY3+AmgkZKsx22Jv8v\nEvDcL55aZ5VWoYtPFvwzHJkrR/HGufG7cofH6sR0/wwLX8Y/kYoM/M8cnw2c\n3j5ZKxeKCL0d6q35sU/sQAywH1SYMDOR0iGqbEsG4i49Eb+Vh9g5YFlnjfoD\nZC3gWf4ZzjFiVNDIg/8BKgXpEWTE2mYJqgTpKRFs9Ts4eV7QLPKS7UUiH6Iz\nN1+u0u0KcA/n09c95/v0Ru47ZIi/mTtOaGa8aCQ9UuZHfsEMteEU3LIapYXg\nMyoFJCbIKf5AjkUVBC5dUfrmYlsFCVR7fnEz1bwOkrarPGZvY7gytlD54oql\n687obJVqz4LN6akcxU62ijL4lWvm9l8+DVmK+S1mBTZtnj19noXTszi5UbOp\nTmP3BTrozV74Clc5ZMlXiG9BSOl84J+32EbWrSWd8s56jQ2IgYMJf3Zp2KS2\nmVNNA+vQOuTGYLw0jCK3Cq+NriIoZ39F3RD/vDGO1wduXyrF8DfurbIG4sXB\nNyNBV7/eNaftafDlGh4FBP6Uv5OvBK66ee8wNJsjBZjOhUyXEa/+y4cxMmY5\nQAZxuDvvobqXvBGL+72yetPl53mx3tP+mfHle9hqyjSg6vJPflX3iOf2gKy3\noiTM\r\n=WQ8K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=6"},"gitHead":"3225d8796d3cdd250ac5c1c65d38ec19a1238c78","scripts":{"lint":"eslint .","test":"mocha","lint:fix":"eslint --fix .","posttest":"npm run lint","benchmarks":"make benchmarks","leak-detection":"make leak-detection"},"_npmUser":{"name":"atelierfabien","email":"info@atelierfabien.be"},"repository":{"url":"git://github.com/fabien/loopback-connector-mongodb.git","type":"git"},"_npmVersion":"6.14.5","description":"The official MongoDB connector for the LoopBack framework.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"async":"^2.6.1","debug":"^3.1.0","mongodb":"^3.5.7","strong-globalize":"^4.1.1","loopback-connector":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"rc":"^1.2.8","mocha":"^5.2.0","sinon":"^6.1.3","eslint":"^5.1.0","semver":"^5.5.1","should":"^13.2.1","bluebird":"^3.5.2","benchmark":"^2.1.4","eslint-config-loopback":"^10.0.0","loopback-datasource-juggler":"^3.23.0"},"_npmOperationalInternal":{"tmp":"tmp/loopback-connector-mongodb_4.0.4_1590414793219_0.4631825415515365","host":"s3://npm-registry-packages"}},"4.0.5":{"name":"@atelierfabien/loopback-connector-mongodb","version":"4.0.5","keywords":["connector","datasource","loopback","strongloop","mongodb"],"license":"MIT","_id":"@atelierfabien/loopback-connector-mongodb@4.0.5","maintainers":[{"name":"atelierfabien","email":"info@atelierfabien.be"}],"contributors":[{"url":"https://github.com/bajtos","name":"Miroslav Bajtos"},{"url":"https://github.com/raymondfeng","name":"Raymond Feng"},{"url":"https://github.com/ritch","name":"Ritchie Martori"},{"url":"https://github.com/superkhau","name":"Simon Ho"}],"homepage":"https://github.com/fabien/loopback-connector-mongodb#readme","bugs":{"url":"https://github.com/fabien/loopback-connector-mongodb/issues"},"dist":{"shasum":"250edcce2b8f0d918d21005e1b92ba43df3ec6c8","tarball":"https://registry.npmjs.org/@atelierfabien/loopback-connector-mongodb/-/loopback-connector-mongodb-4.0.5.tgz","fileCount":54,"integrity":"sha512-pGGwpzNpAWoiicEZsk7Hdlvvg4E7lEETmlG3Y6t2fYTEEdCgsjQJ8rwVc3PD+hLGX7787uMsd6yz3qzUFdrK4w==","signatures":[{"sig":"MEYCIQCqqbwXZX9tNDjCyJhRHQTd3aXlXY5UifdPKqIQ3SdPowIhAKodjhB7DRuUT3CIQBodIp6a+PNeu1Lq8c9HuE5JHtb5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":258235,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpBdzCRA9TVsSAnZWagAA31oP/27IvTWo8ML8i5q188uA\nAQVOwJvo0yXJOR6Z6ELrCd7Q9L120DjNClf7qlqKdA5P0oQYSHKF9QkyjGwa\ngOY7zAH33Gq74OeCmbMI+ervY2OUSb9twqQF7dHNpKl3s7Kvje7EZovDBHCQ\nz5lkj/tMtgXBsMEaYv1nI6BISW+ZNknXfN3mtMaaQ/LsfakNfgT4cqT1OCzH\np2ZWrs3WuSLgfLN/6HdnFJy8h1BAf6W6Sl1Zsqqproy6tWb2BPIv0aQ01KQu\nT5PSab110XHCCxzMRcy985P8TjsvP+gYkaCyKSRMPubbnGyaEi4WrrCBlhzd\nYTnICumVpQwV8xzSMvsvEOq2/d+l3CYh62Mc9m7c96RjhDBhgnJUDugNYDEq\nZSMnU1g5sTUgRhpH3lbo7MWSM8LUHYJmtzqCqTDYTK8zSkFXX0M4mKZfsrSX\nv49wcdG8Q82ZvlAK9HtOfct0iZFWSj/r7GZKCFaFByDRQr9vKIyP8QhsT4Xb\ndwBgTaPVwm5Nu5De/ToSEG/LmrDIWVDLF1U14Ib6VrKIQsA65Qyy0aojRfqI\nu7aVcvjbTgkPKw6LQHeYOEicctQIAePTio3BmUEPT4bbiAUyQhol8bKV7x1F\nDKveb3IXrlg7QFx4NhGIfaruDFe7RfO8gcLaNjnz0a4Q8ryDhiF6zQBkSFJV\n3zfE\r\n=94M4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=6"},"gitHead":"459787588227da7e03c9994873665dbebf3da05e","scripts":{"lint":"eslint .","test":"mocha","lint:fix":"eslint --fix .","posttest":"npm run lint","benchmarks":"make benchmarks","leak-detection":"make leak-detection"},"_npmUser":{"name":"atelierfabien","email":"info@atelierfabien.be"},"repository":{"url":"git://github.com/fabien/loopback-connector-mongodb.git","type":"git"},"_npmVersion":"6.14.8","description":"The official MongoDB connector for the LoopBack framework.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"async":"^2.6.1","debug":"^3.1.0","mongodb":"^3.6.2","strong-globalize":"^4.1.1","loopback-connector":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"rc":"^1.2.8","mocha":"^5.2.0","sinon":"^6.1.3","eslint":"^5.1.0","semver":"^5.5.1","should":"^13.2.1","bluebird":"^3.5.2","benchmark":"^2.1.4","eslint-config-loopback":"^10.0.0","loopback-datasource-juggler":"^3.23.0"},"_npmOperationalInternal":{"tmp":"tmp/loopback-connector-mongodb_4.0.5_1604589426633_0.7331825936090295","host":"s3://npm-registry-packages"}},"4.0.6":{"name":"@atelierfabien/loopback-connector-mongodb","version":"4.0.6","keywords":["connector","datasource","loopback","strongloop","mongodb"],"license":"MIT","_id":"@atelierfabien/loopback-connector-mongodb@4.0.6","maintainers":[{"name":"atelierfabien","email":"info@atelierfabien.be"}],"contributors":[{"url":"https://github.com/bajtos","name":"Miroslav Bajtos"},{"url":"https://github.com/raymondfeng","name":"Raymond Feng"},{"url":"https://github.com/ritch","name":"Ritchie Martori"},{"url":"https://github.com/superkhau","name":"Simon Ho"}],"homepage":"https://github.com/fabien/loopback-connector-mongodb#readme","bugs":{"url":"https://github.com/fabien/loopback-connector-mongodb/issues"},"dist":{"shasum":"dc74a4c4495791a4b7b9b25757b877867ea17c34","tarball":"https://registry.npmjs.org/@atelierfabien/loopback-connector-mongodb/-/loopback-connector-mongodb-4.0.6.tgz","fileCount":54,"integrity":"sha512-k1Qxb2JvV42efCnAXfpwPtwfQdokem5jPm+YRQo7QJC0KsvI2L7xsW7qpYeS1qCJM4Q7DOrErnhOJcw1ei+zqw==","signatures":[{"sig":"MEUCIQDz7sGsxFfpSeJrLPtGCgbFDdcQAqfwlbh7Gd04MKE+OwIgOAyIrRe+iTWxDt+/8netYQWyVNgJ/QHzqW3rNA8kydo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":258637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpECeCRA9TVsSAnZWagAAZfIP/1+vhKgsUl3HPIXsfiyM\nTSsGcn+vSxCzR9+x6pfMPG8KHem4YC82N7xxQbHuWR9Nvf2IO3BRInIP8oPh\nvz2pBEjVXEBLSGxtS/cU8y29G7dW3wWU8IcyH+XCM8ekmdi01yrxe6ObSo8p\ne6OJpoouBupHOitwllGlAxQq/+B5TrRrcSyx1L+pV/Gtm0dtBGghZ3/JlpaU\nKQqeiXurSbsMlHiaDy7q77QLRJEkrXQzaRoMtq0TN/NR52s4pIhyDVxtKCPc\n46Swg8RQjvxVrTZTlrjQG/s/R0MMOfm/aCOpdlrb9hICx3pmduY+yO6aTiOF\nwn7eBxZ+b1t4iqCp+Du+81InPAcjn4yogbJszAm91xgjuAabQGXWxmIEgctb\n0Iz+mJA1jx+Fm/Q+BCNXE9dtBWeIwUyltTK+/gwuxqSLYP27MeVhi374bgBQ\nW/f22gFtB0GePLkR6y5Hjw8QkKhmbG7/X05jQ2/88toRU9SScrSeFHGTN7TF\niycEbucPORgre7dur5iDQuluXQv8ku1ukbH2Cepcr8x9OWAsjHh7AKokI1lK\nQgw0+6qTuIpbJtM1dn3tjBB2MHCLCVku0ac3gWgvpiS+AjMiS4W7kG6ddLoi\nndS3d+Bxy1gjufgMONkpZWcJbLU8tAeoFdHHg5wefULRECQKJFvCqGaYtlnK\n4vEb\r\n=1j/l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=6"},"gitHead":"76e415505b4f5e015585eb9477349a6f910aa9e9","scripts":{"lint":"eslint .","test":"mocha","lint:fix":"eslint --fix .","posttest":"npm run lint","benchmarks":"make benchmarks","leak-detection":"make leak-detection"},"_npmUser":{"name":"atelierfabien","email":"info@atelierfabien.be"},"repository":{"url":"git://github.com/fabien/loopback-connector-mongodb.git","type":"git"},"_npmVersion":"6.14.8","description":"The official MongoDB connector for the LoopBack framework.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"async":"^2.6.1","debug":"^3.1.0","mongodb":"^3.6.2","strong-globalize":"^4.1.1","loopback-connector":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"rc":"^1.2.8","mocha":"^5.2.0","sinon":"^6.1.3","eslint":"^5.1.0","semver":"^5.5.1","should":"^13.2.1","bluebird":"^3.5.2","benchmark":"^2.1.4","eslint-config-loopback":"^10.0.0","loopback-datasource-juggler":"^3.23.0"},"_npmOperationalInternal":{"tmp":"tmp/loopback-connector-mongodb_4.0.6_1604599965421_0.6568791601905934","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-09-07T18:12:26.509Z","modified":"2026-03-12T17:43:45.500Z","1.15.2":"2016-09-07T18:12:26.509Z","4.0.0":"2019-04-06T09:36:30.652Z","4.0.1":"2019-10-06T12:38:36.241Z","4.0.2":"2020-04-09T16:51:22.736Z","4.0.3":"2020-05-25T09:39:00.102Z","4.0.4":"2020-05-25T13:53:13.320Z","4.0.5":"2020-11-05T15:17:06.809Z","4.0.6":"2020-11-05T18:12:45.759Z"},"bugs":{"url":"https://github.com/fabien/loopback-connector-mongodb/issues"},"license":"MIT","homepage":"https://github.com/fabien/loopback-connector-mongodb#readme","keywords":["connector","datasource","loopback","strongloop","mongodb"],"repository":{"url":"git://github.com/fabien/loopback-connector-mongodb.git","type":"git"},"description":"The official MongoDB connector for the LoopBack framework.","contributors":[{"url":"https://github.com/bajtos","name":"Miroslav Bajtos"},{"url":"https://github.com/raymondfeng","name":"Raymond Feng"},{"url":"https://github.com/ritch","name":"Ritchie Martori"},{"url":"https://github.com/superkhau","name":"Simon Ho"}],"maintainers":[{"email":"info@atelierfabien.be","name":"vorm-labs"}],"readme":"# loopback-connector-mongodb\n\nThe official MongoDB connector for the LoopBack framework.\n\nPlease see the full documentation at [loopback.io](http://loopback.io/doc/en/lb3/MongoDB-connector.html).\n\n## Installation\n\nIn your application root directory, enter this command to install the connector:\n\n```sh\nnpm install loopback-connector-mongodb --save\n```\n\nThis installs the module from npm and adds it as a dependency to the application's `package.json` file.\n\nIf you create a MongoDB data source using the data source generator as described below, you don't have to do this, since the generator will run `npm install` for you.\n\n## Creating a MongoDB data source\n\nUse the [Data source generator](http://loopback.io/doc/en/lb3/Data-source-generator.html) to add a MongoDB data source to your application.  \nThe generator will prompt for the database server hostname, port, and other settings\nrequired to connect to a MongoDB database.  It will also run the `npm install` command above for you.\n\nThe entry in the application's `/server/datasources.json` will look like this:\n\n```javascript\n\"mydb\": {\n  \"host\": \"myserver\",\n  \"port\": 27017,\n  \"url\":  \"\",\n  \"database\": \"test\",\n  \"password\": \"mypassword\",\n  \"name\": \"mydb\",\n  \"user\": \"me\",\n  \"authSource\" : \"admin\",\n  \"connector\": \"mongodb\"\n}\n```\n\nEdit `datasources.json` to add any other additional properties that you require.\n\n### Connection properties\n\n| Property | Type&nbsp;&nbsp; | Description |\n| --- | --- | --- |\n| connector | String | Connector name, either `\"loopback-connector-mongodb\"` or `\"mongodb\"`. |\n| database | String | Database name |\n| host | String | Database host name |\n| password | String | Password to connect to database |\n| port | Number | Database TCP port |\n| url | String | Connection URL of form `mongodb://user:password@host/db`. Overrides other connection settings (see below). |\n| user | String | Username to connect to database |\n| authSource | String | Authentification database name (optional). Usually `\"admin\"` value. |\n\nIf you run a MongoDB with authentification ([Docker's example here](https://github.com/docker-library/docs/tree/master/mongo#mongo_initdb_root_username-mongo_initdb_root_password)), you need to specify which database to authenticate against. More details can be found in [MongoDB documentation on Authentification Methods](https://docs.mongodb.com/manual/core/authentication/#authentication-methods). The default value is usually `\"admin\"`, like in the official docker image.\n\n**NOTE**: In addition to these properties, you can use additional Single Server Connection parameters supported by [`node-mongodb-native`](http://mongodb.github.io/node-mongodb-native/core/driver/reference/connecting/connection-settings/).\n\n### Additional properties\n\n- **allowExtendedOperators**: Set to `true` to enable using MongoDB operators such as\n`$currentDate`, `$inc`, `$max`, `$min`, `$mul`, `$rename`, `$setOnInsert`, `$set`, `$unset`, `$addToSet`,\n`$pop`, `$pullAll`, `$pull`, `$pushAll`, `$push`, and `$bit`.  Default is `false`.\n- **enableGeoIndexing**: Set to `true` to enable 2dsphere indexing for model properties\nof type `GeoPoint`. This allows for indexed ```near``` queries.  Default is `false`.\n- **lazyConnect**: \n  - Default is `false`.\n  - If set to `true`, the database instance will not be attached to the datasource and the connection is deferred.\n  - It will try to establish the connection automatically once users hit the endpoint. If the mongodb server is offline, the app will start, however, the endpoints will not work.\n- **disableDefaultSort**: Set to `true` to disable the default sorting\n  behavior on `id` column, this will help performance using indexed columns available in mongodb.\n- **collation**: Specify language-specific rules for string comparison, such as rules for lettercase and accent marks. See [`MongdoDB documentation`](https://docs.mongodb.com/manual/reference/collation/) for details. It can also be used to create [`case insensitive indexes`](https://docs.mongodb.com/manual/core/index-case-insensitive/).\n\n### Setting the url property in datasource.json\n\nYou can set the `url` property to a connection URL in `datasources.json` to override individual connection parameters such as `host`, `user`, and `password`.  \n\nAdditionally, you can override the global `url` property in environment-specific data source configuration files, for example for production in `datasources.production.json`, and use the individual connection parameters `host`, `user`, `password`, and `port`.  To do this, you _must_ set `url` to `false`, null, or “” (empty string).\nIf you set `url` to `undefined` or remove the `url` property altogether, the override will not work.\n\nFor example, for production, use `datasources.production.json` as follows (for example) to overide the `url` setting in `datasources.json:\n\n```javascript\n\"mydb\": {\n  \"host\": \"myserver\",\n  \"port\": 27017,\n  \"url\":  false,\n  \"database\": \"test\",\n  \"password\": \"mypassword\",\n  \"name\": \"mydb\",\n  \"user\": \"me\",\n  \"connector\": \"mongodb\"  \n}\n```\n\nFor more information on setting data source configurations for different environments, see [Environment-specific configuration](https://loopback.io/doc/en/lb3/Environment-specific-configuration.html#data-source-configuration).\n\n## Security Considerations\n\nMongoDB Driver allows the `$where` operator to pass in JavaScript to execute on the Driver which can be used for NoSQL Injection. See [MongoDB: Server-side JavaScript](https://docs.mongodb.com/manual/core/server-side-javascript/) for more on this MongoDB feature.\n\nTo protect users against this potential vulnerability, LoopBack will automatically **remove** the `$where` and `mapReduce` operators from a query before it's passed to the MongoDB Driver. If you need to use these properties from within LoopBack programatically, you can disable the sanitization by passing in an `options` object with `disableSanitization` property set to `true`.\n\n**Example:**\n```js\nPost.find(\n    {where: {$where: 'function() { /*JS function here*/}'}},\n    {disableSanitization: true},\n    (err, p) => {\n        // code to handle results / error.\n    }\n);\n```\n\n## Type mappings\n\nSee [LoopBack types](http://loopback.io/doc/en/lb3/LoopBack-types.html) for details on LoopBack's data types.\n\n### LoopBack to MongoDB types\n\nType conversion is mainly handled by Mongodb. See ['node-mongodb-native'](http://mongodb.github.io/node-mongodb-native/) for details.\n\n## Customizing MongoDB configuration for tests/examples\n\nBy default, examples and tests from this module assume there is a MongoDB server\ninstance running on localhost at port 27017.\n\nTo customize the settings, you can drop in a `.loopbackrc` file to the root directory\nof the project or the home folder.\n\n**Note**: Tests and examples in this project configure the data source using the deprecated '.loopbackrc' file method,\nwhich is not suppored in general.\nFor information on configuring the connector in a LoopBack application, please refer to [loopback.io](http://loopback.io/doc/en/lb2/MongoDB-connector.html).\n\nThe .loopbackrc file is in JSON format, for example:\n\n    {\n        \"dev\": {\n            \"mongodb\": {\n                \"host\": \"127.0.0.1\",\n                \"database\": \"test\",\n                \"user\": \"youruser\",\n                \"password\": \"yourpass\",\n                \"port\": 27017\n            }\n        },\n        \"test\": {\n            \"mongodb\": {\n                \"host\": \"127.0.0.1\",\n                \"database\": \"test\",\n                \"user\": \"youruser\",\n                \"password\": \"yourpass\",\n                \"port\": 27017\n            }\n        }\n    }\n\n**Note**: user/password is only required if the MongoDB server has authentication enabled. `\"authSource\"` should be used if you cannot login to your database using your credentials.\n\n## Running tests\n\n### Own instance\nIf you have a local or remote MongoDB instance and would like to use that to run the test suite, use the following command:\n- Linux\n```bash\nMONGODB_HOST=<HOST> MONGODB_PORT=<PORT> MONGODB_DATABASE=<DATABASE> CI=true npm test\n```\n- Windows\n```bash\nSET MONGODB_HOST=<HOST> SET MONGODB_PORT=<PORT> SET MONGODB_DATABASE=<DATABASE> SET CI=true npm test\n```\n\n### Docker\nIf you do not have a local MongoDB instance, you can also run the test suite with very minimal requirements.\n- Assuming you have [Docker](https://docs.docker.com/engine/installation/) installed, run the following script which would spawn a MongoDB instance on your local:\n```bash\nsource setup.sh <HOST> <PORT> <DATABASE>\n```\nwhere `<HOST>`, `<PORT>` and `<DATABASE>` are optional parameters. The default values are `localhost`, `27017` and `testdb` respectively.\n- Run the test:\n```bash\nnpm test\n```\n\n### Leak detection\n\nTests run for 100 iterations by default, but can be increased by setting the\nenv var `ITERATIONS`.\n\n```\nmake leak-detection # run 100 iterations (default)\n```\n\nor\n\n```\nITERATIONS=1000 make leak-detection # run 1000 iterations\n```\n\n## Running benchmarks\n\n**Benchmarks must be run on a Unix-like operating system.**\n\n```\nmake benchmarks\n```\n\nThe results will be output in `./benchmarks/results.md`.\n\n## strictObjectIDCoercion flag\n\nIn version 1.17.0, the id of string type is being converted to ObjectID, when the string length is 12 or 24 and has the format of an ObjectID i.e /^[0-9a-fA-F]{24}$/.\nTo avoid this issue, the strictObjectIDCoercion flag should be set to true in the model-definition file. It is also possible to enable this flag on a per method bases by passing it in as part of the options object.\n\n### model-definition.js\n\n```js\n{\n  \"name\": \"myModelName\",\n  \"base\": \"PersistedModel\",\n  \"idInjection\": false,\n  \"options\": {\n    \"validateUpsert\": true,\n    \"strictObjectIDCoercion\": true\n  },\n...\n}\n```\nboot-script.js\n\n```js\n'use strict';\nvar util = require('util');\n\nmodule.exports = function(app) {\n  var db = app.dataSources.mongoDs;\n  var myModelName = app.models.myModelName;\n\n  db.automigrate(function(err) {\n    if (err) throw err;\n    console.log('Automigrate complete');\n\n    myModelName.create([{\n      id: '59460487e9532ae90c324b59',\n      name: 'Bob',\n    }, {\n      id: '59460487e9532ae90c324b5a',\n      name: 'Sam',\n    }, {\n      id: '420',\n      name: 'Foo',\n      age: 1,\n    }, {\n      id: '21',\n      name: 'Bar',\n    }], function(err, result) {\n      if (err) throw err;\n      console.log('\\nCreated instances of myModelName: ' + util.inspect(result, 4));\n\n      myModelName.find({where: {id: {inq: ['59460487e9532ae90c324b59',\n        '59460487e9532ae90c324b5a']}}},\n      function(err, result) {\n        if (err) throw err;\n        console.log('\\nFound instance with inq: ' + util.inspect(result, 4));\n      });\n    });\n  });\n};\n```\n\n### Per method basis\n\n```js\nmyModelName.find(\n  {where: {id: {inq: ['59460487e9532ae90c324b59', '59460487e9532ae90c324b5a']}}},\n  {strictObjectIDCoercion: true},\n  function(err, result) {\n    // ... \n  }\n)\n```\n\n## Release notes\n\n  * 1.1.7 - Do not return MongoDB-specific _id to client API, except if specifically specified in the model definition\n","readmeFilename":"README.md"}