mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-17 02:14:58 +00:00
perf[orm]: 简化代码
This commit is contained in:
1 parent
14fb5fd26c
commit
c1481c9479
9 files changed
+31
-60
No files matched your search
@@ -35,6 +35,12 @@ OrmContext.getAccessor().delete(obj);
|
||||
OrmContext.getAccessor().update(obj);
|
||||
```
|
||||
|
||||
- 加载数据库中的数据
|
||||
|
||||
```
|
||||
OrmContext.getAccessor().load(id, class);
|
||||
```
|
||||
|
||||
#### 2. IQuery接口,为数据复杂查询接口
|
||||
|
||||
#### 3. 缓存使用方法
|
||||
|
||||
Reference in new issue
Block a user