https://github.com/gobatis/gobatis
Golang persistence framework, make system building simple and efficient.
https://github.com/gobatis/gobatis
golang mybatis sql
Last synced: 2 months ago
JSON representation
Golang persistence framework, make system building simple and efficient.
- Host: GitHub
- URL: https://github.com/gobatis/gobatis
- Owner: gobatis
- Created: 2021-02-02T22:10:22.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-16T16:07:16.000Z (over 1 year ago)
- Last Synced: 2024-12-16T17:26:21.642Z (over 1 year ago)
- Topics: golang, mybatis, sql
- Language: HTML
- Homepage: https://gobatis.com
- Size: 3.25 MB
- Stars: 22
- Watchers: 4
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Gobatis

Most database operation scenarios involve simple CRUD (Create, Read, Update, Delete) operations. For these cases,
we need straightforward methods. When conducting complex queries, excessive parameter bindings become a headache; at
these times, a convenient template syntax is required. In some specific scenarios, such as paginated queries, we need
some quick methods.
Taking into account the above requirements, Gobatis was designed. It adheres to the traditional usage habits of Go ORMs,
and also draws from MyBatis's Dynamic SQL syntax. Additionally, it offers numerous other features, making system
development simpler and more efficient.
## Feature
* Simple, An engineering-oriented ORM
* Intuitive and convenient API design
* Targeted at users who prefer using native SQL
* Transaction tracing.
* Mybatis parameter syntax and Dynamic SQL syntax
* Hooks (Before/After, Insert/Update/Delete/Query/Exec)
* More rigorous query result matching mechanism
* Context, Prepared Statement Mode, Debug Mode, DryRun Mode, Loose Mode
* Logger
* Every feature comes with tests
* Developer Friendly
## Documentation
For a comprehensive guide and API documentation, visit [https://gobatis.com](https://gobatis.com).
## Support
If you wish to discuss further requirements and detailed usage, feel free to join us for discussions on Knowledge Planet.

## Contribution
We welcome all contributions to the Gobatis project!
## License
This project is licensed under the MIT License.