{"_id":"@dwwoelfel/graphile-build-pg","_rev":"4-6faf6315b538d4824c4ea35d1896c9f2","name":"@dwwoelfel/graphile-build-pg","dist-tags":{"latest":"4.4.5-alpha.0"},"versions":{"4.4.0-beta.1":{"name":"@dwwoelfel/graphile-build-pg","version":"4.4.0-beta.1","description":"Build a GraphQL schema by reflection over a PostgreSQL schema. Easy to customize since it's built with plugins on graphile-build","main":"node8plus/index.js","types":"node8plus/index.d.ts","scripts":{"test":"jest","prepack":"mkdir -p node8plus && babel --copy-files -s true --out-dir node8plus src && flow-copy-source src node8plus","watch":"mkdir -p node8plus && babel --copy-files -s true --watch --out-dir node8plus src"},"repository":{"type":"git","url":"git+https://github.com/graphile/graphile-build.git"},"keywords":["graphile","graphql","engine","pg","postgres","postgresql","gql","generate","reflection","build","schema","apollo","relay","plugins","extensible"],"author":{"name":"Benjie Gillam","email":"code@benjiegillam.com"},"license":"MIT","bugs":{"url":"https://github.com/graphile/graphile-build/issues"},"homepage":"https://github.com/graphile/graphile-build/tree/master/packages/graphile-build-pg","dependencies":{"chalk":"^2.1.0","debug":">=2 <3","graphile-build":"4.4.0-beta.1","graphql-iso-date":"^3.6.0","jsonwebtoken":"^8.1.1","lodash":">=4 <5","lru-cache":">=4 <5","pg-sql2":"2.2.1","postgres-interval":"^1.1.1"},"peerDependencies":{"pg":">=6.1.0 <8"},"devDependencies":{"babel-cli":"^6.24.1","eslint_d":"^5.3.1","flow-copy-source":"^1.2.0","jest":"^23.5.0"},"jest":{"testRegex":"__tests__/.*\\.test\\.js$"},"engines":{"node":">=8.6"},"_id":"@dwwoelfel/graphile-build-pg@4.4.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"dww","email":"dwwoelfel@gmail.com"},"dist":{"integrity":"sha512-EJJRbglMWLb7xz9i4VMRZ6TWs9pG4x3YmEl4yOAplaeWHu1TFn6HEZsRhzAu/0LXaT7MbuaC8MgtFJ4iYct2HA==","shasum":"89cc229b84b79e21cef2a064fe5476dc97a6e2ca","tarball":"https://registry.npmjs.org/@dwwoelfel/graphile-build-pg/-/graphile-build-pg-4.4.0-beta.1.tgz","fileCount":152,"unpackedSize":1468860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfzroCRA9TVsSAnZWagAASRAP/R+xE1Sg4owVtDJQDojU\nAf8KhbNRFsTf2qd3BbDqS1/cjnc0XTDbYN4T2K6ODIgzqhYXMh3iIn8kiAJb\n7nJ/lunyk8EZzGPTCW0JfEnPE/SOMx9SMLRYkqdrGS1Iq5X7EKIjZTIl3hXW\nf/OG+h8L8GkeYJNQOjMarBP2p1RQpwCgDnXOtjAINH9I66eCArU/aLlwiggl\nu8hFQML48/wFGxMDhdhUQJ7ueZUaALQh+XhlVSVYz2090PPPT0RpFrDwSzyG\nh7U52aUG7Y8bg0WR0KW35bmG4DgGzkjCfn++FUWIperL7b1jqGcdWpvJuPIC\ncb7IKYPJCgOI3ukOZILl4ofeD2XQK7t+NTpfHAJJhT+UoA4X6udTTx2Q9kY0\nqt898a1ZIm88O7C8m57naH8pSvecVBmh9CxiVbdiBfCBvYBLbdk35e0oqWvA\nKtTsM/mzPuumS4DV1uBp7+45jHSwiuS2fYwqpSPKUSRyrzAjgEOVruRIn+6Q\nOc84zP7rCsXJwucOjPN02pvE5Es/iHor0noGXAy0DIgFNKloPrf6czSVNev0\nG1awh9wIfWOHtAksCPagw6S688/1SFdAhj6gaOSbZyHLC5afeX6cTlDpi0h3\nlHJ009L5/cOFkJndiqXcPuybNtQPt92AleVFyQAIx17ji+ppMkHykqPk43Yz\nFs4j\r\n=zBur\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwZFtV/VJivHrNPQn6VfwnHNSG3mp9ICgs3ao9gtzZgAIgT8KNv0vFh0wVWubODkUzlr2hyLE92TvcxcexwXUSnIk="}]},"maintainers":[{"name":"dww","email":"dwwoelfel@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphile-build-pg_4.4.0-beta.1_1551842021151_0.576135316682391"},"_hasShrinkwrap":false},"4.4.3-alpha.0":{"publishConfig":{"access":"public"},"name":"@dwwoelfel/graphile-build-pg","version":"4.4.3-alpha.0","description":"Build a GraphQL schema by reflection over a PostgreSQL schema. Easy to customize since it's built with plugins on graphile-build","main":"node8plus/index.js","types":"node8plus/index.d.ts","scripts":{"test":"jest","prepack":"mkdir -p node8plus && babel --copy-files -s true --out-dir node8plus src && flow-copy-source src node8plus","watch":"mkdir -p node8plus && babel --copy-files -s true --watch --out-dir node8plus src"},"repository":{"type":"git","url":"git+https://github.com/graphile/graphile-build.git"},"keywords":["graphile","graphql","engine","pg","postgres","postgresql","gql","generate","reflection","build","schema","apollo","relay","plugins","extensible"],"author":{"name":"Benjie Gillam","email":"code@benjiegillam.com"},"license":"MIT","bugs":{"url":"https://github.com/graphile/graphile-build/issues"},"homepage":"https://github.com/graphile/graphile-build/tree/master/packages/graphile-build-pg","dependencies":{"@dwwoelfel/graphile-build":"^4.4.3-alpha.0","chalk":"^2.1.0","debug":">=2 <3","graphql-iso-date":"^3.6.0","jsonwebtoken":"^8.1.1","lodash":">=4 <5","lru-cache":">=4 <5","pg-sql2":"2.2.1","postgres-interval":"^1.1.1"},"peerDependencies":{"pg":">=6.1.0 <8"},"devDependencies":{"babel-cli":"^6.24.1","eslint_d":"^5.3.1","flow-copy-source":"^1.2.0","jest":"^23.5.0"},"jest":{"testRegex":"__tests__/.*\\.test\\.js$"},"engines":{"node":">=8.6"},"gitHead":"70990b98c55d184ff96b6a5f05a94853298ca9a2","_resolved":"","_integrity":"","_from":"file:dwwoelfel-graphile-build-pg-4.4.3-alpha.0.tgz","_id":"@dwwoelfel/graphile-build-pg@4.4.3-alpha.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"dww","email":"dwwoelfel@gmail.com"},"dist":{"integrity":"sha512-WvgqThBRi5AgmT42e1LI4OKpkUCx/ro3q+V7fsuQikeFbakvb4BZu8XytngWYxeQfVsYxhdb+U8qd+mAIvIWIw==","shasum":"c5fcbe53964002455783d33ac62e7d95110c689e","tarball":"https://registry.npmjs.org/@dwwoelfel/graphile-build-pg/-/graphile-build-pg-4.4.3-alpha.0.tgz","fileCount":152,"unpackedSize":1470058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgA+GCRA9TVsSAnZWagAAo6AQAKSSbaXCRU6d6kMtmJDN\nI/Znob4L5Qfz4JZEeE2RE/583e5gDctY4nNijJFFHM7jrvG3bGknTPpTcmxU\nYVoNmv0bm0u/oBW8bh8i9eYRrcLZb/5qnMNINq9QFYpZVa1NseamFJrseneP\nh4eRvsMnApFrE+lHek+pOMhMFNIIcBQ/5Vn611jKRSGm5PM2kS5YOOG2exZ+\ne5UI0eUEZegiyhQRWvI1T0pkBr4Fr/alSjG9UBiNnrxR0eaitqLtrADGMJNH\ny8VolJBSy97JyzzWjOgtK1M/gnsnOfdQxsWldaMdXttNhJ9469YLAdPabXx7\nqpNyjkbsYEncwCiOkGBUMZys3Bq/UpDGDtlZR9voUg2lXy35Bf4nuf2qWGyn\nhcsldSmLtckVBPt6opPNWer/f8XAR+Nh0BNkHu9OlYvl9lW1ZXZckIKNG327\ndVX57GXENyTL41aiHcoBnLVKBfy7FI8X3jpsaHZWN9OH0aVYygOR6QSO62bM\neZhI0wbpx+oirGyQg/uyHdAi+Yy/Yg80rv3XmMjW9wkOEJhyDoxA20EZIMM/\n2alq18wHA4JJtddy5FiQQ8c0jITrr12zpYHCMcCeIb2J5803zW1x+b3T6e+R\nVrGMLajdqr5By28TtgNhNDO6qMsZHYXCW3U3EpIgoKUNQhnbXYc5HaQbI3m9\n3da+\r\n=ar5y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNeaZkgzFyCibSDxHTEIPnph4sNgvbxKffp+Dn2+GD3wIhAMzyTOw3V/puqCzjoUgtLr7S/Jaq65hhNyo+Vn8QORA3"}]},"maintainers":[{"name":"dww","email":"dwwoelfel@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphile-build-pg_4.4.3-alpha.0_1551896453900_0.6190873886492418"},"_hasShrinkwrap":false},"4.4.4-alpha.0":{"publishConfig":{"access":"public"},"name":"@dwwoelfel/graphile-build-pg","version":"4.4.4-alpha.0","description":"Build a GraphQL schema by reflection over a PostgreSQL schema. Easy to customize since it's built with plugins on graphile-build","main":"node8plus/index.js","types":"node8plus/index.d.ts","scripts":{"test":"jest","prepack":"mkdir -p node8plus && babel --copy-files -s true --out-dir node8plus src && flow-copy-source src node8plus","watch":"mkdir -p node8plus && babel --copy-files -s true --watch --out-dir node8plus src"},"repository":{"type":"git","url":"git+https://github.com/graphile/graphile-build.git"},"keywords":["graphile","graphql","engine","pg","postgres","postgresql","gql","generate","reflection","build","schema","apollo","relay","plugins","extensible"],"author":{"name":"Benjie Gillam","email":"code@benjiegillam.com"},"license":"MIT","bugs":{"url":"https://github.com/graphile/graphile-build/issues"},"homepage":"https://github.com/graphile/graphile-build/tree/master/packages/graphile-build-pg","dependencies":{"@dwwoelfel/graphile-build":"^4.4.4-alpha.0","chalk":"^2.1.0","debug":">=2 <3","graphql-iso-date":"^3.6.0","jsonwebtoken":"^8.1.1","lodash":">=4 <5","lru-cache":">=4 <5","pg-sql2":"2.2.1","postgres-interval":"^1.1.1"},"peerDependencies":{"pg":">=6.1.0 <8"},"devDependencies":{"babel-cli":"^6.24.1","eslint_d":"^5.3.1","flow-copy-source":"^1.2.0","jest":"^23.5.0"},"jest":{"testRegex":"__tests__/.*\\.test\\.js$"},"engines":{"node":">=8.6"},"gitHead":"a3818ddf26ef41d18331732d4da7faedc3cc4af8","_resolved":"","_integrity":"","_from":"file:dwwoelfel-graphile-build-pg-4.4.4-alpha.0.tgz","_id":"@dwwoelfel/graphile-build-pg@4.4.4-alpha.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"dww","email":"dwwoelfel@gmail.com"},"dist":{"integrity":"sha512-vPR0EXvrjZSD3SUTkUSRkcmQxEVedslx+zYBGK0Xzv5VXvZki/WgdOFB0F6UG6yOs6SI00F6S8HWbDFl4pl8PQ==","shasum":"fbbe0903acbab61130c42152f99ad1c122131d6a","tarball":"https://registry.npmjs.org/@dwwoelfel/graphile-build-pg/-/graphile-build-pg-4.4.4-alpha.0.tgz","fileCount":152,"unpackedSize":1470080,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgBR7CRA9TVsSAnZWagAAu2QP/2nL/fqO0uPu3R7Ne2yF\n7MkIbGCwSZpgtpBFDU3DYSrTLeg8hX896Bdch1fSpeITj1gQWr0QrrLsf9kU\ny0AkM2ZYS+TJBj7FjpoyGHoJKZ1j/dvO5xfdPbA2RmIKBZQ16ZbPB/VC9Lfy\n6WLKbZxYK7IKyRvIGCS4WY+dIWFHpVUQQXCZ2aJLmUAMK1/mMw/RQDVLFBdF\nlFXTyKOpoI9vlicfm0uu5snsOJ5Ydr6ikLhye3LDGZZxhRiytWM+WVBUg6ox\nkznwuOkT7mtVy59r5V9/dM9DpiUAedvcTXyd7VtU88QeNh6CQSQLsvDUcClz\nyGwdptljT8KblQv2FpRMTDRAfGJ9VzXxfgGVkqrfnm9ko426q11oqEV104NP\n9XbIYAinAUT5C5iszbjKh5bb3L1LEQlQAqCFsq2pz41aoQUYpVZK45Y+B6H4\nIsktc6+tEGaoW72imU+i4WRpusDs68f1IH5JRDgYCPyw3jdfA9NARY9QSV3A\nbjvgYmh/GQ35RE/blhOFuM5jwtihmO3WMmPe4xxEXzFem/vxzpqce2O2y/OO\nZ+BiKIzH6NYgBTnDcO5cloP/bW+XmzwIJGqfOw7QGbLcoTI4IAuHICkgoCA2\nUL6z7fzAL3mzu3UcCupSXOuAAkflwtp9kBWNLY+ZJ95AJ5mVSKh55F483MND\nQ/Qf\r\n=gbkr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDMDTu8Wtne+nTI41ORtFdl6LONE0DBwXjJbag+hFdcbAiAL+kVX81+Bzt3QKPN3iK4l2UZEA+RG02XVvgRT61pr7g=="}]},"maintainers":[{"name":"dww","email":"dwwoelfel@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphile-build-pg_4.4.4-alpha.0_1551897723377_0.5348071742937781"},"_hasShrinkwrap":false},"4.4.5-alpha.0":{"publishConfig":{"access":"public"},"name":"@dwwoelfel/graphile-build-pg","version":"4.4.5-alpha.0","description":"Build a GraphQL schema by reflection over a PostgreSQL schema. Easy to customize since it's built with plugins on graphile-build","main":"node8plus/index.js","types":"node8plus/index.d.ts","scripts":{"test":"jest","prepack":"mkdir -p node8plus && babel --copy-files -s true --out-dir node8plus src && flow-copy-source src node8plus","watch":"mkdir -p node8plus && babel --copy-files -s true --watch --out-dir node8plus src"},"repository":{"type":"git","url":"git+https://github.com/graphile/graphile-build.git"},"keywords":["graphile","graphql","engine","pg","postgres","postgresql","gql","generate","reflection","build","schema","apollo","relay","plugins","extensible"],"author":{"name":"Benjie Gillam","email":"code@benjiegillam.com"},"license":"MIT","bugs":{"url":"https://github.com/graphile/graphile-build/issues"},"homepage":"https://github.com/graphile/graphile-build/tree/master/packages/graphile-build-pg","dependencies":{"@dwwoelfel/graphile-build":"^4.4.5-alpha.0","chalk":"^2.1.0","debug":">=2 <3","graphql-iso-date":"^3.6.0","jsonwebtoken":"^8.1.1","lodash":">=4 <5","lru-cache":">=4 <5","pg-sql2":"2.2.1","postgres-interval":"^1.1.1"},"peerDependencies":{"pg":">=6.1.0 <8"},"devDependencies":{"babel-cli":"^6.24.1","eslint_d":"^5.3.1","flow-copy-source":"^1.2.0","jest":"^23.5.0"},"jest":{"testRegex":"__tests__/.*\\.test\\.js$"},"engines":{"node":">=8.6"},"gitHead":"13938f563b26a0a7ccacd8f02376bb8f0ce8d0e5","_resolved":"","_integrity":"","_from":"file:dwwoelfel-graphile-build-pg-4.4.5-alpha.0.tgz","_id":"@dwwoelfel/graphile-build-pg@4.4.5-alpha.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"dww","email":"dwwoelfel@gmail.com"},"dist":{"integrity":"sha512-VBnKrbUsS13X7rWz0UjAii8fgDuO5GFQuBqhSfTQGaHLLwjJMuawBLmJSj+WIpZ9s0+ow9oKanPkgZGPILTong==","shasum":"27011640d01b21a989c04ef48234408ea93d6af6","tarball":"https://registry.npmjs.org/@dwwoelfel/graphile-build-pg/-/graphile-build-pg-4.4.5-alpha.0.tgz","fileCount":152,"unpackedSize":1470124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgBYeCRA9TVsSAnZWagAAqXcP/Am59PX3CiSBIraD4t1Y\nhspStCDSzmyjJWP3v/EG3o7I7065NossoY4we4x1OVcg2OiYqc6ZkQwsiti+\n9HGHNbAd2GviZUuKd2VuTy6TczKrwyBohUpjqoP/tYaUSzjqwxzUT+i5JJq6\ntploI75PF7q+wEpm9xRDJDSz381QP2GyqVN0zcIGPwPtkV6e2fLzxn4/9QqI\nnHqGXb/U0pjTMH/JJnc7tB0t9uqywmtnY/dvvhIk6LCohd7vJUpYu6PLxUVm\nE4oiXrxL6AHQ2z8hTMCUm1ZjV7HhXrrBjAQ4nNScUI6imoTAb/lIiFfmzQPQ\nmNq4ImzQ/T/A33iscAdw1ozB6qdzF+yerzmpU2pQ23Jvz3zbrkd6pSZOWtqq\nAuBzAMlzVHvEaPoxWS8XvT999cN1LBf43FnMtHA21MEM1ggEgAAZnvrZG70q\nlWGys2pEdOZJfOeEaf8uj2eEz7TSD573RqAvMi8d9dXv5yw9bDapsULIV0vZ\nCqYW7zbZHgxGyMy1PAJ9PNTz9pI47qAVG6c/huctBuEqmKPtTruem/n7R8+C\nim5fIn1k1MgdFo4lloRlw9efPtEi7fuRMA0zKgNAF/Xs5OmMT7iFp9yhikGV\n2+NMftLHbinXLOviwCecp/r+V7ojpACZFe70oiFg8gfQ0wwhBpyKuTKxgK83\nuU6Z\r\n=olEm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIHnkLdicGBajuMkdteL6/++ZTLqEIRMq+5aTBZ0KTTAiEA0xnyqnIS+luE8r4ro1u4gR4h0yN+ddVRIEmYrt2Dlqs="}]},"maintainers":[{"name":"dww","email":"dwwoelfel@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphile-build-pg_4.4.5-alpha.0_1551898141902_0.15852192530859877"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-06T03:13:41.008Z","4.4.0-beta.1":"2019-03-06T03:13:42.410Z","modified":"2022-04-05T06:13:22.157Z","4.4.3-alpha.0":"2019-03-06T18:20:54.190Z","4.4.4-alpha.0":"2019-03-06T18:42:03.528Z","4.4.5-alpha.0":"2019-03-06T18:49:02.097Z"},"maintainers":[{"name":"dww","email":"dwwoelfel@gmail.com"}],"description":"Build a GraphQL schema by reflection over a PostgreSQL schema. Easy to customize since it's built with plugins on graphile-build","homepage":"https://github.com/graphile/graphile-build/tree/master/packages/graphile-build-pg","keywords":["graphile","graphql","engine","pg","postgres","postgresql","gql","generate","reflection","build","schema","apollo","relay","plugins","extensible"],"repository":{"type":"git","url":"git+https://github.com/graphile/graphile-build.git"},"author":{"name":"Benjie Gillam","email":"code@benjiegillam.com"},"bugs":{"url":"https://github.com/graphile/graphile-build/issues"},"license":"MIT","readme":"# graphile-build-pg\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/benjie\" title=\"Support Graphile development on Patreon\"><img src=\"https://img.shields.io/badge/sponsor-via%20Patreon-orange.svg\" alt=\"Patreon sponsor button\" /></a></span>\n[![Discord chat room](https://img.shields.io/discord/489127045289476126.svg)](http://discord.gg/graphile)\n[![Package on npm](https://img.shields.io/npm/v/graphile-build-pg.svg?style=flat)](https://www.npmjs.com/package/graphile-build-pg)\n![MIT license](https://img.shields.io/npm/l/graphile-build-pg.svg)\n[![Follow](https://img.shields.io/badge/twitter-@GraphileHQ-blue.svg)](https://twitter.com/GraphileHQ)\n\n`graphile-build-pg` is a collection of Graphile Engine plugins that allow you\nto extend your GraphQL schema with high-performance types and fields based on\nresources found in your PostgreSQL database schema.\n\nThanks to Graphile Engine's advanced [query\nlook-ahead](https://www.graphile.org/graphile-build/look-ahead/) features,\nthe plugins in this package do not exhibit the N+1 query problem common in\nmany database-based GraphQL APIs. For all but the flattest GraphQL queries\nthese plugins typically outperform `DataLoader`-based solutions.\n\nAn example of an application built on `graphile-build-pg` is\n[PostGraphile](https://github.com/graphile/postgraphile) which with one\ncommand connects to your PostgreSQL database and provides a full highly\nperformant standards-compliant GraphQL API.\n\n**It is recommended that you use PostGraphile directly unless you really want\nto get low level access to this library.**\n\nIf you prefer to use the plugins yourself it's advised that you use the\n`defaultPlugins` export from `graphile-build-pg` and then create a new array\nbased on that into which you may insert or remove specific plugins. This is\nbecause it is ordered in a way to ensure the plugins work correctly (and we\nmay still split up or restructure the plugins).\n\n### Export: `defaultPlugins`\n\nAn array of graphql-build plugins in the correct order to generate a\nwell-thought-out GraphQL object tree based on your PostgreSQL schema. This is\nthe array that `postgraphile-core` uses.\n\n### Manual usage\n\n```js\nimport { defaultPlugins, getBuilder } from \"graphile-build\";\nimport { defaultPlugins as pgDefaultPlugins } from \"graphile-build-pg\";\n\nasync function getSchema(\n  pgConfig = process.env.DATABASE_URL,\n  pgSchemas = [\"public\"],\n  additionalPlugins = []\n) {\n  return getBuilder(\n    [...defaultPlugins, ...pgDefaultPlugins, ...additionalPlugins],\n    {\n      pgConfig,\n      pgSchemas,\n      pgExtendedTypes: true,\n    }\n  );\n}\n```\n","readmeFilename":"README.md"}