-
## GORM Playground Link
https://github.com/go-gorm/playground/pull/747
## Description
We use gorm hooks but we are seeing a problem when a field with type *uuid.UUID is updated with a nil. We e…
-
## Document Link
https://gorm.io/docs/preload.html#Embedded-Preloading
## Your Question
The examples about nested struct are very confusing and have some errors.
the doc's here:
```
typ…
-
想问下这个怎么解决的?
acxng updated
2 weeks ago
-
# 「连载十」定制 GORM Callbacks
[https://eddycjy.com/posts/go/gin/2018-04-15-gorm-callback/](https://eddycjy.com/posts/go/gin/2018-04-15-gorm-callback/)
-
フロントエンドを進められるように、モックレベルでも良いから、バックエンドをEcho + Gormで作る
-
-
/workspace/go/pkg/mod/gorm.io/gorm@v1.24.1-0.20221019064659-5dd2bb482755/callbacks.go:134 record not found
[1.566ms] [rows:0] SELECT * FROM "positions" WHERE id = 0 ORDER BY "positions"."id" LIMIT 1
-
# MyGorm:核心引擎 · log日志 - PBScott
本篇是Go从零实现ORM框架MyGORM核心篇的第一篇。 目的 MyGorm核心日志的封装。 Log日志MyGorm核心实现之log日志记录,一个好的架构,离不开详细日志,否则出现问题的时候抓眼瞎。因此在实现核心功能前,先实现一个简单的log日志记录。 为什么不直接使用原生的 log 库,log 标准库没有日志分级,不打印文件和…
-
I'm trying to figure out how to add custom functions. When I register the custom functions directly to the modernc lib, then I get the following error because both the glebarez lib and the modernc cal…
-