CHORE add unittest test function ConvertMapToValueForCreate#6846
CHORE add unittest test function ConvertMapToValueForCreate#6846jinzhu merged 2 commits intogo-gorm:masterfrom
Conversation
|
This test and the original |
@a631807682 The function loadOrStoreVisitMap in the callbacks package is a private function. This means that it can only be accessed and used by code within the same package. If you move the unit test for this function from do you want to move only |
Sorry, I didn't make it clear, I meant move to |
…d visit_map_test.go into the file helper_test.go.
@a631807682 |
Adds unit tests for ConvertMapToValuesForCreate function in GORM, ensuring correct value conversion from maps to database columns for CREATE operations.