greenleaf:MongoDB的简单查询生成器

时间:2021-05-04 08:41:54
【文件属性】:
文件名称:greenleaf:MongoDB的简单查询生成器
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-04 08:41:54
go golang query mongodb query-builder :seedling: greenleaf-用于MongoDB的简单,类型安全且易于使用的查询生成器 安装 要安装使用: go get github.com/slavabobik/greenleaf 快速范例 package main import ( "context" "github.com/slavabobik/greenleaf" "go.mongodb.org/mongo-driver/mongo" "go.mongodb.org/mongo-driver/mongo/options" ) func main () { ctx := context . TODO () client , _ := mongo . Connect ( ctx , options . Client (). ApplyURI ( "mongodb://localhost:27017" )) collecti
【文件预览】:
greenleaf-master
----generator()
--------main.go(3KB)
----go.mod(48B)
----update.go(4KB)
----.github()
--------workflows()
----filter.go(15KB)
----builder.go(2KB)
----LICENSE(1KB)
----README.md(1KB)
----builder_test.go(433B)
----.gitignore(269B)
----primitive.go(102B)

网友评论