Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 54 for updateMap (0.05 sec)

  1. schema/schema_test.go

    		{Name: "CreatedAt", DBName: "created_at", BindNames: []string{"Model", "CreatedAt"}, DataType: schema.Time},
    		{Name: "UpdatedAt", DBName: "updated_at", BindNames: []string{"Model", "UpdatedAt"}, DataType: schema.Time},
    		{Name: "DeletedAt", DBName: "deleted_at", BindNames: []string{"Model", "DeletedAt"}, Tag: `gorm:"index"`, DataType: schema.Time},
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. schema/field_test.go

    	var (
    		userSchema, _ = schema.Parse(&tests.User{}, &sync.Map{}, schema.NamingStrategy{})
    		user          = tests.User{
    			Model: gorm.Model{
    				ID:        10,
    				CreatedAt: time.Now(),
    				UpdatedAt: time.Now(),
    				DeletedAt: gorm.DeletedAt{Time: time.Now(), Valid: true},
    			},
    			Name:     "valuer_and_setter",
    			Age:      18,
    			Birthday: tests.Now(),
    			Active:   true,
    		}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/log/cbean/bs/BsUserInfoCB.java

                doColumn("_id");
            }
    
            public void columnCreatedAt() {
                doColumn("createdAt");
            }
    
            public void columnUpdatedAt() {
                doColumn("updatedAt");
            }
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. tests/sql_builder_test.go

    	// create
    	user := &User{Name: "foo", Age: 20}
    	user.CreatedAt = date
    	user.UpdatedAt = date
    	sql = DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    		return tx.Model(&User{}).Create(user)
    	})
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. tests/scanner_valuer_test.go

    	var result2 ScannerValuerStruct
    	if err := DB.First(&result2, result.ID).Error; err != nil {
    		t.Errorf("got error %v when query with %v", err, result.ID)
    	}
    
    	AssertObjEqual(t, result2, result, "ID", "CreatedAt", "UpdatedAt", "Name", "Gender", "Age")
    }
    
    func TestInvalidValuer(t *testing.T) {
    	DB.Migrator().DropTable(&ScannerValuerStruct{})
    	if err := DB.Migrator().AutoMigrate(&ScannerValuerStruct{}); err != nil {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsUserInfoBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedAt(toLocalDateTime(source.get("createdAt")));
                result.setUpdatedAt(toLocalDateTime(source.get("updatedAt")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. internal/http/headers.go

    	MinIOReplicationActualObjectSize = "X-Minio-Replication-Actual-Object-Size"
    
    	// predicted date/time of transition
    	MinIOTransition            = "X-Minio-Transition"
    	MinIOLifecycleCfgUpdatedAt = "X-Minio-LifecycleConfig-UpdatedAt"
    	// MinIOCompressed is returned when object is compressed
    	MinIOCompressed = "X-Minio-Compressed"
    
    	// SUBNET related
    	SubnetAPIKey = "x-subnet-api-key"
    )
    
    // Common http query params S3 API
    const (
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         */
        private EncryptionResult encryptWithGCM(byte[] message, byte[] nonce, byte[] associatedData) throws Exception {
            final Cipher cipher = createGCMCipher(true, nonce);
            cipher.updateAAD(associatedData);
    
            // Use constant-time encryption
            final byte[] encrypted = performConstantTimeEncryption(cipher, message);
    
            // Split ciphertext and authentication tag
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. tests/query_test.go

    		ID        int64
    		Name      string
    		UpdatedAt time.Time
    		CreatedAt time.Time
    	}
    
    	var simpleUser SimpleUser
    	if err := DB.Table("users").Where("name = ?", user.Name).First(&simpleUser).Error; err != nil {
    		t.Fatalf("Failed to query smaller user, got error %v", err)
    	}
    
    	AssertObjEqual(t, user, simpleUser, "Name", "ID", "UpdatedAt", "CreatedAt")
    
    	var simpleUser2 SimpleUser
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  10. schema/relationship_test.go

    	Info2 []*Info2 `gorm:"foreignkey:Code;references:Code"`
    }
    
    type Info1 struct {
    	CreatedAt time.Time
    	UpdatedAt time.Time
    	Code      string
    	Relation  []*InfoRelation `gorm:"foreignkey:Code;references:Code"`
    }
    
    type Info2 struct {
    	CreatedAt time.Time
    	UpdatedAt time.Time
    	Code      string
    	Relation  []*InfoRelation `gorm:"foreignkey:Code;references:Code"`
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
Back to top