Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for jinzhu1 (0.07 sec)

  1. tests/go.mod

    module gorm.io/gorm/tests
    
    go 1.23.0
    
    require (
    	github.com/google/uuid v1.6.0
    	github.com/jinzhu/now v1.1.5
    	github.com/lib/pq v1.10.9
    	github.com/stretchr/testify v1.11.1
    	gorm.io/driver/gaussdb v0.1.0
    	gorm.io/driver/mysql v1.6.0
    	gorm.io/driver/postgres v1.6.0
    	gorm.io/driver/sqlite v1.6.0
    	gorm.io/driver/sqlserver v1.6.1
    	gorm.io/gorm v1.30.2
    )
    
    require (
    	filippo.io/edwards25519 v1.1.0 // indirect
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. statement.go

    		newStmt.Settings.Store(k, v)
    		return true
    	})
    
    	return newStmt
    }
    
    // SetColumn set column's value
    //
    //	stmt.SetColumn("Name", "jinzhu") // Hooks Method
    //	stmt.SetColumn("Name", "jinzhu", true) // Callbacks Method
    func (stmt *Statement) SetColumn(name string, value interface{}, fromCallbacks ...bool) {
    	if v, ok := stmt.Dest.(map[string]interface{}); ok {
    		v[name] = value
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top