问题描述
也许这个问题不适用于 dynamoDB,因为它不是关系数据库.但是,我正在寻找一个好的对象映射器,它可以在 nodejs 和 aws sdk 中用于将现有模型类映射到 dynamoDB 表.有没有人有这个问题/问题的经验,或者你是否使用过这样的模块/库?
Maybe the question does not apply to dynamoDB due to it not being Relational Db.However, I'm looking for a good object mapper which can be used in nodejs and aws sdk to map existing model classes to dynamoDB tables. Does anyone have experience with this issue/question, or have you used such a module/library?
推荐答案
如果你正在寻找架构:
- https://github.com/clarkie/dynogels(很好支持 分叉自 vogels 已被废弃)
- https://github.com/automategreen/dynamoose(灵感来自 猫鼬)
- https://github.com/clarkie/dynogels (well supported forked from vogels which has been abandoned)
- https://github.com/automategreen/dynamoose (inspired by Mongoose)
如果您正在寻找将 javascript 对象(甚至是圆形图)扔到的东西:
If you are looking for something to throw javascript objects (even circular graphs) to:
dyngodb 实验性支持全文搜索,以及 事务 也是.
dyngodb has experimental support for full-text search, and transactions too.
两者都基于 aws-sdk.
Both are based on aws-sdk.
这篇关于亚马逊 dynamodb(通过 aws sdk)是否有一个可以在 nodejs 中使用的好的对象映射器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!