mirror of
https://github.com/eggjs/egg.git
synced 2024-12-04 07:14:30 +00:00
docs: Official maintained ORM model is egg-orm (#5227)
This commit is contained in:
parent
bc405e2b5d
commit
a0ba9c372b
@ -40,11 +40,13 @@ Template engines available as shown below. For more template engines [searching]
|
||||
|
||||
## Databases
|
||||
|
||||
Official [ORM model WIP](https://github.com/eggjs/egg/issues/388),plugins now available:
|
||||
Official maintained ORM model is [egg-orm] base on [Leoric], and the following database plugins are currently available:
|
||||
|
||||
- [egg-orm]
|
||||
- [egg-sequelize]
|
||||
- [egg-mongoose]
|
||||
- [egg-mysql],refer to [MySQL tutorials](./tutorials/mysql.md)
|
||||
- [egg-graphql]
|
||||
|
||||
[egg-sequelize]: https://github.com/eggjs/egg-sequelize
|
||||
[egg-mongoose]: https://github.com/eggjs/egg-mongoose
|
||||
@ -55,3 +57,5 @@ Official [ORM model WIP](https://github.com/eggjs/egg/issues/388),plugins now
|
||||
[egg-view-handlebars]: https://github.com/eggjs/egg-view-handlebars
|
||||
[egg-view-pug]: https://github.com/chrisyip/egg-view-pug
|
||||
[egg-view-xtpl]: https://github.com/eggjs/egg-view-xtpl
|
||||
[egg-orm]: https://github.com/eggjs/egg-orm/blob/master/Readme.md
|
||||
[Leoric]: https://leoric.js.org
|
||||
|
||||
@ -42,8 +42,9 @@ $ npm init egg --type=simple
|
||||
|
||||
## 数据库
|
||||
|
||||
官方 [ORM 模型还在设计中](https://github.com/eggjs/egg/issues/388),但现在可以使用
|
||||
官方维护的 ORM 模型是基于 [Leoric] 实现的 [egg-orm],目前可用的数据库插件:
|
||||
|
||||
- [egg-orm]
|
||||
- [egg-sequelize]
|
||||
- [egg-mongoose]
|
||||
- [egg-mysql],可查看 [MySQL 教程](./tutorials/mysql.md)
|
||||
@ -61,3 +62,5 @@ $ npm init egg --type=simple
|
||||
[egg-view-react]: https://github.com/eggjs/egg-view-react
|
||||
[egg-view-vue]: https://github.com/eggjs/egg-view-vue
|
||||
[egg-graphql]: https://github.com/eggjs/egg-graphql
|
||||
[egg-orm]: https://github.com/eggjs/egg-orm/blob/master/Readme.zh-CN.md
|
||||
[Leoric]: https://leoric.js.org/zh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user