-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
24 additions
and
439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
# data 数据库ORM组件 | ||
> [文档:https://farseer-go.github.io/doc/](https://farseer-go.github.io/doc/) | ||
|
||
> 包:`"github.com/farseer-go/data"` | ||
> | ||
> 模块:`data.Module` | ||
![](https://img.shields.io/github/stars/farseer-go?style=social) | ||
![](https://img.shields.io/github/license/farseer-go/data) | ||
![](https://img.shields.io/github/go-mod/go-version/farseer-go/data) | ||
![](https://img.shields.io/github/v/release/farseer-go/data) | ||
![](https://img.shields.io/github/languages/code-size/farseer-go/data) | ||
![](https://img.shields.io/github/directory-file-count/farseer-go/data) | ||
![](https://goreportcard.com/badge/github.com/farseer-go/data) | ||
|
||
## 概述 | ||
|
||
data组件提供数据库ORM操作,将数据库多张表组织到一个`上下文`中。并使用统一的`./farseer.yaml`配置 | ||
|
||
?> 目前orm底层的组件使用的是gorm,data组件主要为了做进一步的封装,使得我们在使用时更加简单易用。 | ||
> 目前orm底层的组件使用的是gorm,data组件主要为了做进一步的封装,使得我们在使用时更加简单易用。 | ||
data组件,采用数据库上下文的概念,将多个model组合在一起,方便统一管理。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.