# gorm-query

> A strongly-typed query builder and generic repository library

- **URL**: https://www.freshcrate.ai/projects/gorm-query
- **Author**: im-wmkong
- **Category**: Uncategorized
- **Latest version**: `v1.4.5` (2026-05-18)
- **License**: MIT
- **Source**: https://github.com/im-wmkong/gorm-query
- **Language**: Go
- **GitHub**: 5 stars
- **Registry**: github
- **Tags**: `ast`, `code-generation`, `generics`, `go`, `golang`, `gorm`, `orm`, `query-builder`

## Description

A strongly-typed query builder and generic repository library

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v1.4.5` | 2026-05-18 | High | Latest release: v1.4.5 |
| `v1.4.4` | 2026-05-15 | High | Latest release: v1.4.4 |
| `v1.4.3` | 2026-05-06 | High | https://github.com/im-wmkong/gorm-query/compare/v1.4.2...v1.4.3 |
| `v1.4.2` | 2026-04-25 | High | **Full Changelog**: https://github.com/im-wmkong/gorm-query/compare/v1.4.1...v1.4.2 |
| `v2.0.0` | 2026-04-22 | High | We are thrilled to announce the first official release of GORM Query (v2.0.0)! 🎉  In this release, we are officially open-sourcing the GORM enhancement scaffold that our team has been polishing internally for a long time. GORM Query is dedicated to completely solving the pain points Go developers encounter when using GORM, such as "error-prone magic strings," "ambiguous table join fields," and "transactions breaking architectural layers." It brings you a smooth, native-like, and strongly-type |
| `v1.0.1` | 2026-04-13 | High | Latest release: v1.0.1 |
| `v1.0.0` | 2026-03-13 | Medium | We are thrilled to announce the first official release of **GORM Query (v1.0.0)**! 🎉  在这个版本中，我们正式将团队内部打磨已久的 GORM 增强脚手架开源。GORM Query 致力于彻底解决 Go 开发者在使用 GORM 时遭遇的“魔法字符串易错”、“连表字段歧义”、“事务传递破坏架构”等痛点，为你带来堪比原生般丝滑、强类型安全的数据库操作体验。  ## ✨ 初版核心特性 (Initial Release Highlights)  ### 🛡️ 1. 强类型查询构建器 (Type-Safe Query Builder) 再也不用手写脆弱的 `db.Where("age > ?", 18)`。配合专属的代码生成器，在编译期即可拦截字段拼写错误。 * 支持全套 SQL 操作：`Eq`, `Neq`, `Gt`, `Gte`, `Lt`, `Lte`, `In`, `Contains` 等。 * 支持 `.Clone()` 深度拷贝，安全派生查询条件，彻底告别切片底层污染。  # |

## Citation

- HTML: https://www.freshcrate.ai/projects/gorm-query
- Markdown: https://www.freshcrate.ai/projects/gorm-query.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/gorm-query/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
