没有合适的资源?快使用搜索试试~ 我知道了~
graphql-advanced-projection:完全可定制的MongooseMongoDB投影生成器
共56个文件
js:38个
graphql:9个
md:3个
需积分: 10 0 下载量 43 浏览量
2021-02-04
06:03:08
上传
评论
收藏 111KB ZIP 举报
温馨提示
graphql高级投影 完全可定制的Mongoose / MongoDB投影生成器。 为什么 我们已经有了 , 和 。 但是graphql-advanced-projection与上述所有方法在以下方面有所不同: 独立的graphql模式和mongodb投影配置。 这可以帮助您将架构和mongodb解耦为两个部分,它们各自可以独立更改。 写graphql在.graphql在JavaScript,或者写配置.json 。 易于定制。 不再使用gqlField: { type: new GraphQLNonNull(GraphQLInt), projection: 'mongoField'
资源推荐
资源详情
资源评论
收起资源包目录
graphql-advanced-projection-master.zip (56个子文件)
graphql-advanced-projection-master
.eslintrc.json 3KB
.gitignore 96B
package.json 1KB
src
resolver.js 871B
population.js 2KB
prepareConfig.js 2KB
schema.js 3KB
projection.js 3KB
core.js 3KB
LICENSE.md 1KB
.travis.yml 171B
index.js 725B
examples
interface
index.test.js 2KB
index.js 1KB
schema.graphql 206B
models.js 260B
populate-simple
index.test.js 1KB
index.js 1KB
schema.graphql 167B
models.js 538B
heterogeneous
index.test.js 938B
index.js 1KB
schema.graphql 135B
models.js 405B
index.js 686B
nested
index.test.js 628B
index.js 837B
schema.graphql 108B
models.js 277B
reference
index.test.js 1KB
index.js 1KB
schema.graphql 113B
models.js 330B
populate-virtual
index.test.js 1KB
index.js 2KB
schema.graphql 167B
models.js 756B
populate-manual
index.test.js 1KB
index.js 2KB
schema.graphql 167B
models.js 538B
simple
index.test.js 1KB
index.js 868B
schema.graphql 99B
models.js 185B
README.md 4KB
tests
prepareConfig.test.js 5KB
schema.graphql 281B
projection.test.js 16KB
resolver.test.js 2KB
population.test.js 7KB
schema.test.js 9KB
logger.js 397B
docs
API.md 8KB
.editorconfig 208B
yarn.lock 180KB
共 56 条
- 1
资源评论
吉莫吉鱼
- 粉丝: 15
- 资源: 4591
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功