mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-22 22:24:30 +00:00
doc[orm]: update doc
This commit is contained in:
+2
-1
@@ -5,10 +5,11 @@ English | [简体中文](./README_CN.md)
|
||||
- [orm](https://github.com/zfoo-project/zfoo/blob/main/orm/README.md) Based on MongoDB's orm framework, it provides a
|
||||
mapping between POJO objects and Mongo DB databases
|
||||
- MongoDB is a distributed database that can be used on a single machine or distributed in a single machine
|
||||
- Orm can directly use the MongoDB official driver to operate the database
|
||||
|
||||
### Ⅱ. Use
|
||||
|
||||
#### 1. Direct use (low level API), through the low-level API provided by MongoDB to operate the database
|
||||
#### 1. Direct use (low level api) to directly operate the database through the api provided by the official MongoDB driver
|
||||
|
||||
- Start by getting the Collection through Orm Manager
|
||||
|
||||
|
||||
+2
-1
@@ -4,10 +4,11 @@
|
||||
|
||||
- [orm](https://github.com/zfoo-project/zfoo/blob/main/orm/README.md) 基于MongoDB的orm框架,提供POJO对象和MongoDB数据库之间的映射
|
||||
- mongodb是分布式数据库,可以单机使用,也可以分布式使用
|
||||
- 对MongoDB官方驱动进行了简易封装,可以直接获取最接近官方原生的使用方式
|
||||
|
||||
### Ⅱ. 使用
|
||||
|
||||
#### 1. 直接使用(low level api),通过MongoDB官方提供的底层Api操作数据库
|
||||
#### 1. 直接使用(low level api),通过MongoDB官方驱动提供的Api直接操作数据库
|
||||
|
||||
- 首先通过OrmManager获取Collection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user