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

github.com/gwaylib/database

Provides database connections in factory mode to optimize database connections 以工厂的模式构建数据库,以避免数据库被多次打开。 因database/sql本身已实现连接池,因此没有必要创建多个同一的数据库连接实例 Example: count, titles, result, err := qSql.QueryPageArray(db, true, condition, 0, 10) ... Or count, titles, result, err := qSql.QueryPageMap(db, true, condtion, 0, 10) ... if err != nil { ... }

Ecosystem
proxy.golang.org
Latest Release
v0.0.0-20230903101558-4e5982dd95b6
over 2 years ago
Versions
4
Dependent Packages
3
Dependent Repos
1
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/gwaylib/database
spec
License MIT
Namespace github.com/gwaylib
First Release over 3 years ago
Last Synced 25 days ago
Keywords
database go orm
Repository
Stars 1 on GitHub
Forks 0 on GitHub
Rankings on proxy.golang.org
Dependent packages Top 3.4%
Dependent repos Top 4.7%