You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
当初我在数据库和ORM选择,纠结到底是mongodb还是其他
最后选择的这个: Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more.
开发时,使用 简便的SQLite,以后有需要很容易扩展或切换其他关系型数据库。
当初我在数据库和ORM选择,纠结到底是mongodb还是其他
最后选择的这个: Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more.
开发时,使用 简便的SQLite,以后有需要很容易扩展或切换其他关系型数据库。
我看到现在咱们是用关系表,并没有设计mongodb的强项。
图片来源:https://www.cnblogs.com/clsn/p/8214194.html#auto-id-14 1.3.5 MongoDB的优势
至于Nosql类型的配置,一般我放在了配置文件中,动态变化的配置部分,有2个选项,redis或rocksdb,这个rocksdb时我从wechaty里发现他们用的/依赖的,而且非常强大,据说是 TiDB的根,无服务器文件存储,有点像SQLite,但是是key-value的。
可以参考:
The text was updated successfully, but these errors were encountered: