ZacamaX

Results 10 comments of ZacamaX

@a631807682 Hello, I think I reproduced the problem I had in this pr https://github.com/go-gorm/playground/pull/503 . But at the same time I encountered a new problem. When I try to create...

@a631807682 ![image](https://user-images.githubusercontent.com/50320281/183011899-eb562d43-64e6-4115-bdd2-c8b0977e2649.png) Hello, I'm using Mariadb-10.4.18. And I using this sql to test it in datagrip. ![180708041-a50bc232-e8a6-458f-a381-24d6f194c0ee](https://user-images.githubusercontent.com/50320281/183012220-f982103a-98b2-4e4b-907f-6177df7d789f.png) It can return.

@a631807682 I want to confirm that do you mean I should able to use like this? ``` db, _ := gorm.Open(mysql.Open(dsn)) // after init, register it. callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{ CreateClauses: []string{"INSERT",...

@a631807682 It returns a lot of warning ... ![image](https://user-images.githubusercontent.com/50320281/183028712-7bb0bb73-42b4-4f74-bfe3-418f43accd76.png) I find that it has been called in gorm.Open() ![image](https://user-images.githubusercontent.com/50320281/183031234-3f68d986-8040-4e51-a251-e4400170b2e1.png) So it prints a lof of warning log.

@a631807682 yeah, It can print right rawsql now. ![image](https://user-images.githubusercontent.com/50320281/183326372-8c3f288d-bb0f-4dfa-af61-faa174a01eb4.png) Incredible... it can only print right right rawsql. ![image](https://user-images.githubusercontent.com/50320281/183326487-09c844cf-1601-4cf4-9447-d13bb55266d9.png) ![image](https://user-images.githubusercontent.com/50320281/183326520-015f1d9d-1372-494d-85db-37b91cc9a08b.png) But when I test in mysql command line. It return correctly....

I tried to find out what the problem is, but I can't find it... So I try to use rawsql. Amazingly, it worked and it does not need execute this...

@a631807682 Really, thank you very very much for helping me solve this problem😊. I achieved my goal. I don't quite understand the process of closing the issue. If I can...

You can see the problem in action by going directly to this link https://sturdy-parakeet-vqj7xp64xp62pgqg-23232.app.github.dev/example.html#tag/example/paths/~1example/get