Registry / database / xormplus-builder

xormplus-builder

JSON →
library0.0.0-20200331055651-240ff40009begogounverified

Package builder is a simple and powerful SQL query builder for Go, supporting conditions like Eq, Neq, Gt, Like, In, and custom expressions.

go get github.com/xormplus/builder
INSTALL
IMPORT
SIG · XORMPLUS-BUILDER
X
xormplus-builder
databasegov0.0.0-20200331055651-240ff40009be
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

builder
github.com/xormplus/builder

Build a SELECT query with an equality condition.

package main import ( "fmt" "github.com/xormplus/builder" ) func main() { sql, args, _ := builder.Select("*").From("users").Where(builder.Eq{"name": "Alice"}).Build() fmt.Println(sql, args) }
Debug
Known issues
gotchaOnly query conditions are supported; INSERT/UPDATE/DELETE builders are not available.
fix
Use the xorm core package for full SQL operations, or manually construct DML statements.
affects: >=0.0.0
Upgrade
Version history
0.0.0-20200331055651-240ff40009belatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
28
Meta
1
OpenAI (training)
1
Resources
xormplus-builder — go get xormplus-builder · libregistry