特性 安装 快速入门 The fantastic ORM library for Golang aims to be developer friendly. 特性 全功能 ORM 关联 (Has One、Has Many、Belongs To、Many To Many、多态、单表继承) Create、Save、Update、Delete、Fi...
Many To Many Many To Many 反向引用 重写外键 自引用 Many2Many 预加载 Many2Many 的 CURD 自定义连接表 外键约束 复合外键 Many To Many Many To Many Many to Many 会在两个 model 中添加一张连接表。 例如,您的应用包含了 user ...
Overview Install Quick Start The fantastic ORM library for Golang aims to be developer friendly. Overview Full-Featured ORM Associations (Has One, Has Many, Belongs To, Many...
Error Handling ErrRecordNotFound Dialect Translated Errors Errors In Go, error handling is important. You are encouraged to do error check after any Finisher Methods Error...