Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for franc (0.15 sec)

  1. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "Asia", "A", "", 1, resultCases[4], nil, true},
    		// Setting a non-existing directory to be prefix (12-13).
    		{"empty-bucket", "europe/france/", "", "", 1, ListObjectsInfo{}, nil, true},
    		{"empty-bucket", "africa/tunisia/", "", "", 1, ListObjectsInfo{}, nil, true},
    		// Testing on empty bucket, that is, bucket without any objects in it (14).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  2. tests/update_test.go

    	if rowsAffected := DB.Model(&User{}).Clauses(clause.From{Tables: []clause.Table{{Name: "accounts"}}}).Where("accounts.user_id = users.id AND accounts.number = ? AND accounts.deleted_at IS NULL", users[0].Account.Number).Update("name", "franco").RowsAffected; rowsAffected != 1 {
    		t.Errorf("should only update one record, but got %v", rowsAffected)
    	}
    
    	var result User
    	if err := DB.Where("id = ?", users[0].ID).First(&result).Error; err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
Back to top