Top 3.5% dependent repos on proxy.golang.org
Top 9.0% forks on proxy.golang.org
proxy.golang.org : github.com/HnH/qry
Package qry is a general purpose library for storing your raw database queries in .sql files with all benefits of modern IDEs, instead of strings and constants in the code, and using them in an easy way inside your application with all the profit of compile time constants. qry recursively loads all .sql files from a specified folder, parses them according to predefined rules and returns a reusable object, which is actually just a `map[string]string` with some sugar. Multiple queries inside a single file are separated with standard SQL comment syntax: `-- qry: QueryName`. A `QueryName` must match `[A-Za-z_]+`. gen tool is used for automatic generation of constants for all user specified `query_names`.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/%21hn%21h/qry
Keywords:
go
, golang
, sql
License: MIT
Latest release: almost 2 years ago
First release: about 6 years ago
Namespace: github.com/HnH
Dependent repositories: 2
Stars: 35 on GitHub
Forks: 6 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 17 days ago