Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Larson (0.35 sec)

  1. tests/scan_test.go

    		if info.Person == nil {
    			t.Fatalf("Failed, expected not nil, got person nil")
    		}
    		if info.Address == nil {
    			t.Fatalf("Failed, expected not nil, got address nil")
    		}
    		if info.Person.ID == person1.ID {
    			personMatched = true
    			if info.Person.Name != person1.Name {
    				t.Errorf("Failed, expected %v, got %v", person1.Name, info.Person.Name)
    			}
    		}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat May 28 14:18:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  2. LICENSE

    The MIT License (MIT)
    
    Copyright (c) 2013-NOW  Jinzhu <******@****.***>
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    Plain Text
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun May 21 13:24:00 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  3. schema/relationship_test.go

    func TestMultipleMany2Many(t *testing.T) {
    	type Thing struct {
    		ID int
    	}
    
    	type Person struct {
    		ID       int
    		Likes    []Thing `gorm:"many2many:likes"`
    		Dislikes []Thing `gorm:"many2many:dislikes"`
    	}
    
    	checkStructRelation(t, &Person{},
    		Relation{
    			Name: "Likes", Type: schema.Many2Many, Schema: "Person", FieldSchema: "Thing",
    			JoinTable: JoinTable{Name: "likes", Table: "likes"},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top