gosql:golang orm和sql生成器 源码
Gosql的 gosql是Golang的简单ORM库。 风格: var userList [] UserModel err := db . FetchAll ( & userList , gosql . Columns ( "id" , "name" ), gosql . Where ( "status" , 1 ), gosql . Where ( "[like]name" , "j%" ), gosql . OrWhere ( func ( s * gosql. Clause ) { s . Where ( "[>]score" , "90" ) s . Where ( "[<]score" , "100" ) }), gosql . GroupBy ( "type" ), gosql . Or
文件列表
gosql-master.zip
(预估有个20文件)
gosql-master
example
main.go
2KB
collect_test.go
397B
collect.go
575B
session.go
8KB
.github
workflows
go.yml
964B
README-ZH.md
11KB
暂无评论