Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GormValue (0.04 sec)

  1. statement.go

    			stmt.QuoteTo(writer, v)
    		case Valuer:
    			reflectValue := reflect.ValueOf(v)
    			if reflectValue.Kind() == reflect.Ptr && reflectValue.IsNil() {
    				stmt.AddVar(writer, nil)
    			} else {
    				stmt.AddVar(writer, v.GormValue(stmt.Context, stmt.DB))
    			}
    		case clause.Interface:
    			c := clause.Clause{Name: v.Name()}
    			v.MergeClause(&c)
    			c.Build(stmt)
    		case clause.Expression:
    			v.Build(stmt)
    		case driver.Valuer:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top