pg-order-by-related:按 PostGraphile 连接上的相关列排序-源码

上传者: 42117622 | 上传时间: 2021-08-03 18:04:44 | 文件大小: 100KB | 文件类型: ZIP
@graphile-contrib/pg-order-by-related 这个 Graphile Engine 插件在连接的orderBy参数中添加了额外的枚举值,允许您按相关表中的列进行排序。 需要postgraphile@^4.3.1或graphile-build-pg@^4.3.1 例子: { # additional enum values exposed here :backhand_index_pointing_down: allPosts ( orderBy : PERSON_BY_AUTHOR_ID__CREATED_AT_ASC ) { nodes { headline personByAuthorId { id name about } } } } 支持一对一和多对一关系。 对于一对多关系, __COUN

文件下载

资源详情

[{"title":"( 27 个子文件 100KB ) pg-order-by-related:按 PostGraphile 连接上的相关列排序-源码","children":[{"title":"pg-order-by-related-master","children":[{"title":"index.js <span style='color:#111;'> 16.26KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 940B </span>","children":null,"spread":false},{"title":"__tests__","children":[{"title":"helpers.js <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"p-schema.sql <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"printSchemaOrdered.js <span style='color:#111;'> 1009B </span>","children":null,"spread":false},{"title":"integration","children":[{"title":"schema","children":[{"title":"columnAggregates.test.js <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"core.js <span style='color:#111;'> 558B </span>","children":null,"spread":false},{"title":"ignoreIndexes.test.js <span style='color:#111;'> 258B </span>","children":null,"spread":false},{"title":"__snapshots__","children":[{"title":"columnAggregates.test.js.snap <span style='color:#111;'> 32.46KB </span>","children":null,"spread":false},{"title":"ignoreIndexes.test.js.snap <span style='color:#111;'> 23.77KB </span>","children":null,"spread":false},{"title":"orderByRelated.test.js.snap <span style='color:#111;'> 30.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"orderByRelated.test.js <span style='color:#111;'> 237B </span>","children":null,"spread":false}],"spread":true},{"title":"queries.test.js <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"__snapshots__","children":[{"title":"queries.test.js.snap <span style='color:#111;'> 14.81KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"fixtures","children":[{"title":"queries","children":[{"title":"computedColumn.graphql <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"order-by-related.graphql <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"columnAggregates.graphql <span style='color:#111;'> 778B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"p-data.sql <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":".eslintrc.js <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":".circleci","children":[{"title":"config.yml <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 178.23KB </span>","children":null,"spread":false},{"title":"scripts","children":[{"title":"test <span style='color:#111;'> 458B </span>","children":null,"spread":false}],"spread":true},{"title":".gitattributes <span style='color:#111;'> 12B </span>","children":null,"spread":false},{"title":".prettierrc.json <span style='color:#111;'> 28B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明