https://github.com/carr123/easysql
golang SQL library
https://github.com/carr123/easysql
cockroachdb golang mysql postgresql
Last synced: 3 months ago
JSON representation
golang SQL library
- Host: GitHub
- URL: https://github.com/carr123/easysql
- Owner: carr123
- License: mit
- Created: 2020-11-09T13:59:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T13:53:09.000Z (over 3 years ago)
- Last Synced: 2025-10-21T15:13:57.658Z (9 months ago)
- Topics: cockroachdb, golang, mysql, postgresql
- Language: Go
- Homepage:
- Size: 58.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# easysql
this's a golang library for mysql/postgresql/cockroachdb.
it's easy to switch backend dbserver between mysql, postgresql and cockroachdb with little change in your golang code.
features:
1. you should write SQL clause to talk to backend db server.
2. data type binding between database and golang type. string, int, float, date, datetime, string[], int[], jsonb, etc.
3. support transfer to default value if one db column is NULL