Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkSchemaRelation (0.2 sec)

  1. schema/schema_test.go

    				},
    			}},
    			References: []Reference{{"ID", "User", "UserID", "user_friends", "", true}, {"ID", "User", "FriendID", "user_friends", "", false}},
    		},
    	}
    
    	for _, relation := range relations {
    		checkSchemaRelation(t, user, relation)
    	}
    }
    
    func TestParseSchemaWithAdvancedDataType(t *testing.T) {
    	user, err := schema.Parse(&AdvancedDataTypeUser{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top