pg-many-to-many:添加多对多关系的连接字段

时间:2021-04-29 11:37:16
【文件属性】:
文件名称:pg-many-to-many:添加多对多关系的连接字段
文件大小:142KB
文件格式:ZIP
更新时间:2021-04-29 11:37:16
JavaScript @ graphile-contrib / pg-many-to-many 该Graphile Engine插件添加了用于多对多关系的连接字段。 需要postgraphile@^4.5.0或graphile-build-pg@^4.5.0 例子: { allPeople { nodes { personName # :backhand_index_pointing_down: many-to-many relation teamsByTeamMemberPersonIdAndTeamId { nodes { teamName } } } } } 用法 附加此插件,其他字段将添加到您的架构中。 命令行界面 yarn add postgraphile yarn add @graphile-contrib/pg-many-t
【文件预览】:
pg-many-to-many-master
----index.js(1KB)
----package.json(1KB)
----__tests__()
--------helpers.js(3KB)
--------schemas()
--------queries.test.js(2KB)
--------__snapshots__()
--------integration()
----LICENSE(1KB)
----src()
--------PgManyToManyRelationInflectionPlugin.js(4KB)
--------PgManyToManyRelationEdgeTablePlugin.js(8KB)
--------PgManyToManyRelationPlugin.js(10KB)
--------PgManyToManyRelationEdgeColumnsPlugin.js(5KB)
--------createManyToManyConnectionType.js(7KB)
--------manyToManyRelationships.js(5KB)
----.eslintrc.js(319B)
----index.d.ts(102B)
----.gitignore(18B)
----.circleci()
--------config.yml(3KB)
----README.md(6KB)
----yarn.lock(181KB)
----scripts()
--------test(524B)
----.gitattributes(12B)
----.prettierrc.json(28B)

网友评论