https://github.com/dolmen-go/sqlfunc
Stronger typing for database/sql prepared statements
https://github.com/dolmen-go/sqlfunc
database golang-module golang-package hacktoberfest sql
Last synced: about 1 year ago
JSON representation
Stronger typing for database/sql prepared statements
- Host: GitHub
- URL: https://github.com/dolmen-go/sqlfunc
- Owner: dolmen-go
- License: apache-2.0
- Created: 2020-02-24T22:58:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T01:08:00.000Z (about 2 years ago)
- Last Synced: 2025-02-28T23:51:37.381Z (about 1 year ago)
- Topics: database, golang-module, golang-package, hacktoberfest, sql
- Language: Go
- Homepage: https://pkg.go.dev/github.com/dolmen-go/sqlfunc
- Size: 65.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sqlfunc - Stronger typing for database/sql prepared statements
[](https://pkg.go.dev/github.com/dolmen-go/sqlfunc)
[](https://github.com/dolmen-go/sqlfunc/actions)
[](https://app.codecov.io/gh/dolmen-go/sqlfunc)
[](https://goreportcard.com/report/github.com/dolmen-go/sqlfunc)
## Status
Production ready.
Check [code coverage by the testsuite](https://app.codecov.io/gh/dolmen-go/sqlfunc).
### Known issues
* There is a speed/memory penalty in using the `sqlfunc` wrappers
(check `go test -bench B -benchmem github.com/dolmen-go/sqlfunc`).
It is recommended to do your own benchmarks. There are plans to fix
that (add a code generator to reduce cost of runtime `reflect`),
but no release date planned for this complex feature.
## License
Copyright 2023 Olivier Mengué
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.