Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for vriend (0.23 sec)

  1. tests/associations_many2many_test.go

    	// Append
    	friend := *GetUser("friend", Config{})
    
    	if err := DB.Model(&user2).Association("Friends").Append(&friend); err != nil {
    		t.Fatalf("Error happened when append account, got %v", err)
    	}
    
    	user.Friends = append(user.Friends, &friend)
    	CheckUser(t, user2, user)
    
    	AssertAssociationCount(t, user, "Friends", 3, "AfterAppend")
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 13.2K bytes
    - Viewed (0)
  2. tests/update_many2many_test.go

    		DB.Create(&lang)
    	}
    	user.Friends = []*User{{Name: "friend-1"}, {Name: "friend-2"}}
    
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user2 User
    	DB.Preload("Languages").Preload("Friends").Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    
    	for idx := range user.Friends {
    		user.Friends[idx].Name += "new"
    	}
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  3. tests/helper_test.go

    		}
    	})
    
    	t.Run("Friends", func(t *testing.T) {
    		if len(user.Friends) != len(expect.Friends) {
    			t.Fatalf("Friends should equal, expect: %v, got %v", len(expect.Friends), len(user.Friends))
    		}
    
    		sort.Slice(user.Friends, func(i, j int) bool {
    			return user.Friends[i].ID > user.Friends[j].ID
    		})
    
    		sort.Slice(expect.Friends, func(i, j int) bool {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Serpent, I say again!' repeated the Pigeon, but in a more
    subdued tone, and added with a kind of sob, `I've tried every
    way, and nothing seems to suit them!'
    
      `I haven't the least idea what you're talking about,' said
    Alice.
    
      `I've tried the roots of trees, and I've tried banks, and I've
    tried hedges,' the Pigeon went on, without attending to her; `but
    those serpents!  There's no pleasing them!'
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  5. schema/schema_test.go

    				},
    				{
    					Name: "FriendID", DBName: "friend_id", BindNames: []string{"FriendID"}, DataType: schema.Uint,
    					Tag: `gorm:"primarykey"`, Creatable: true, Updatable: true, Readable: true, PrimaryKey: true, Size: 64,
    				},
    			}},
    			References: []Reference{{"ID", "User", "UserID", "user_friends", "", true}, {"ID", "User", "FriendID", "user_friends", "", false}},
    		},
    	}
    
    	for _, relation := range relations {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Serpent, I say again!' repeated the Pigeon, but in a more
    subdued tone, and added with a kind of sob, `I've tried every
    way, and nothing seems to suit them!'
    
      `I haven't the least idea what you're talking about,' said
    Alice.
    
      `I've tried the roots of trees, and I've tried banks, and I've
    tried hedges,' the Pigeon went on, without attending to her; `but
    those serpents!  There's no pleasing them!'
    
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

        Set<String> friends = Sets.newHashSet("Tom", "Joe", "Dave");
        Set<String> enemies = Sets.newHashSet("Dick", "Harry", "Tom");
    
        Set<String> goodFriends = Sets.difference(friends, enemies);
        assertEquals(2, goodFriends.size());
    
        ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>());
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  8. docs/fr/docs/deployment/manually.md

    com/MagicStack/uvloop" class="external-link" target="_blank">`uvloop`</a >, le remplaçant hautes performances de `asyncio`.
    
    Mais si vous souhaitez utiliser directement **Trio**, vous pouvez utiliser **Hypercorn** car il le prend en charge. ✨
    
    ### Installer Hypercorn avec Trio
    
    Vous devez d'abord installer Hypercorn avec le support Trio :
    
    <div class="termy">
    
    ```console
    $ pip install "hypercorn[trio]"
    ---> 100%
    ```
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 04 12:02:09 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  9. tests/create_test.go

    		*GetUser("bulk_5", Config{Account: false, Pets: 0, Toys: 3, Company: true, Manager: false, Team: 1, Languages: 3, Friends: 1}),
    		*GetUser("bulk_6", Config{Account: true, Pets: 4, Toys: 3, Company: false, Manager: true, Team: 1, Languages: 3, Friends: 0}),
    		*GetUser("bulk_7", Config{Account: true, Pets: 1, Toys: 3, Company: true, Manager: true, Team: 4, Languages: 3, Friends: 1}),
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  10. docs_src/python_types/tutorial011_py39.py

        id: int
        name: str = "John Doe"
        signup_ts: Union[datetime, None] = None
        friends: list[int] = []
    
    
    external_data = {
        "id": "123",
        "signup_ts": "2017-06-01 12:22",
        "friends": [1, "2", b"3"],
    }
    user = User(**external_data)
    print(user)
    # > User id=123 name='John Doe' signup_ts=datetime.datetime(2017, 6, 1, 12, 22) friends=[1, 2, 3]
    print(user.id)
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Sep 02 15:56:35 GMT 2023
    - 492 bytes
    - Viewed (0)
Back to top