Hey is a simple, high-performance ORM for Go.
For example: INSERT, DELETE, UPDATE, SELECT ...
- Support as many SQL general syntax as possible.
- Write less or no original strings in business code, such as "username", "SUM(salary)", "id = ?", "SELECT id, name FROM your_table_name" ...
- Try to avoid using reflection when scanning and querying data to reduce time consumption.
- Through the template code of the table structure, when the database table structure changes, your code can immediately perceive it.
- When you implement a business, focus more on the business rather than on building SQL statements.
- Allows the use of custom caches to reduce query request pressure on relational databases.
- It (hey) can help you build complex SQL statements, especially complex query SQL statements.
- Allows you to define a set of commonly used template SQL statements and use them in complex SQL statements.
- Allows you to efficiently build the SQL statements you need.
go get github.com/cd365/hey/v6@latest