An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/xorm-io/builder

Package builder is a simple and powerful sql builder for Go. Make sure you have installed Go 1.1+ and then: WARNNING: Currently, only query conditions are supported. Below is the supported conditions. 1. Eq is a redefine of a map, you can give one or more conditions to Eq 2. Neq is the same to Eq 3. Gt, Gte, Lt, Lte 4. Like 5. Expr you can customerize your sql with Expr 6. In and NotIn 7. IsNull and NotNull 8. And(conds ...Cond), And can connect one or more condtions via AND 9. Or(conds ...Cond), Or can connect one or more conditions via Or 10. Between 11. define yourself conditions Since Cond is a interface, you can define yourself conditions and compare with them

Ecosystem
proxy.golang.org
Latest Release
v0.3.13
about 3 years ago
Versions
17
Dependent Packages
3
Dependent Repos
10
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/xorm-io/builder
spec
License BSD-3-Clause
Namespace github.com/xorm-io
First Release about 8 years ago
Last Synced 7 days ago
Repository
Stars 0 on GitHub
Forks 0 on GitHub
Docker Dependents 6
Docker Downloads 7,840
Rankings on proxy.golang.org
Dependent packages Top 3.4%
Dependent repos Top 1.7%
Docker downloads Top 1.9%