Giter Site home page Giter Site logo

不支持mongodb? about wafer2-node-sdk HOT 5 CLOSED

choelea avatar choelea commented on May 25, 2024
不支持mongodb?

from wafer2-node-sdk.

Comments (5)

jas0ncn avatar jas0ncn commented on May 25, 2024

是的,账户储存这种关联型的数据适合存储在关系型数据库中,所以使用的 MySQL,连接 MongoDB 可以自己开发哈~

文档哪些地方不够详细呢?能否更清楚的说明一下,我们这里能继续完善。

from wafer2-node-sdk.

choelea avatar choelea commented on May 25, 2024

我看见会话表里面蛮多都是JSON的字段,mysql5.7 才开始支持的吧? 这个个人感觉最好留个SDK使用者自由空间。 连MongoDB自己开发, 这个SDK是支持的? 具体该怎么做? 还是不能用这个SDK?
另外,wafer-node-sdk 是早起的版本,还在维护升级吗?如果没有,应该给用户提示下啊

from wafer2-node-sdk.

jas0ncn avatar jas0ncn commented on May 25, 2024

维护的,这是两个版本。
JSON 是转成字符串存在数据库中的,所以和 MySQL 版本关系不大。
因为我们的环境是直接提供了 MySQL,所以这个 SDK 直接连接了 MySQL。MongoDB 的用法就是平常的用法,不需要特殊的操作哈。但是如果你想把会话信息存在 MongoDB 中的话,目前确实是没办法的。

from wafer2-node-sdk.

choelea avatar choelea commented on May 25, 2024

了解了,谢谢这么及时的回复哈。

from wafer2-node-sdk.

jas0ncn avatar jas0ncn commented on May 25, 2024

不客气哈。感谢使用腾讯云微信小程序解决方案~

from wafer2-node-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.