Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for NullString (0.36 sec)

  1. scan.go

    		*uint, *uint8, *uint16, *uint32, *uint64, *uintptr,
    		*float32, *float64,
    		*bool, *string, *time.Time,
    		*sql.NullInt32, *sql.NullInt64, *sql.NullFloat64,
    		*sql.NullBool, *sql.NullString, *sql.NullTime:
    		for initialized || rows.Next() {
    			initialized = false
    			db.RowsAffected++
    			db.AddError(rows.Scan(dest))
    		}
    	default:
    		var (
    			fields       = make([]*schema.Field, len(columns))
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/database/sql/fakedb_test.go

    	case "int32":
    		return reflect.TypeFor[int32]()
    	case "nullint32":
    		return reflect.TypeFor[NullInt32]()
    	case "string":
    		return reflect.TypeFor[string]()
    	case "nullstring":
    		return reflect.TypeFor[NullString]()
    	case "int64":
    		return reflect.TypeFor[int64]()
    	case "nullint64":
    		return reflect.TypeFor[NullInt64]()
    	case "float64":
    		return reflect.TypeFor[float64]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. src/database/sql/convert.go

    	// in the argument converter loop.
    	index := nv.Ordinal - 1
    	if c.want <= index {
    		return nil
    	}
    
    	// First, see if the value itself knows how to convert
    	// itself to a driver type. For example, a NullString
    	// struct changing into a string or nil.
    	if vr, ok := nv.Value.(driver.Valuer); ok {
    		sv, err := callValuerValue(vr)
    		if err != nil {
    			return err
    		}
    		if !driver.IsValue(sv) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. schema/field.go

    			if v, err := valuer.Value(); reflect.ValueOf(v).IsValid() && err == nil {
    				fieldValue = reflect.ValueOf(v)
    			}
    
    			// Use the field struct's first field type as data type, e.g: use `string` for sql.NullString
    			var getRealFieldValue func(reflect.Value)
    			getRealFieldValue = func(v reflect.Value) {
    				var (
    					rv     = reflect.Indirect(v)
    					rvType = rv.Type()
    				)
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"NullInt32.Int32", Field, 13},
    		{"NullInt32.Valid", Field, 13},
    		{"NullInt64", Type, 0},
    		{"NullInt64.Int64", Field, 0},
    		{"NullInt64.Valid", Field, 0},
    		{"NullString", Type, 0},
    		{"NullString.String", Field, 0},
    		{"NullString.Valid", Field, 0},
    		{"NullTime", Type, 13},
    		{"NullTime.Time", Field, 13},
    		{"NullTime.Valid", Field, 13},
    		{"Open", Func, 0},
    		{"OpenDB", Func, 10},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg database/sql, type NullInt64 struct
    pkg database/sql, type NullInt64 struct, Int64 int64
    pkg database/sql, type NullInt64 struct, Valid bool
    pkg database/sql, type NullString struct
    pkg database/sql, type NullString struct, String string
    pkg database/sql, type NullString struct, Valid bool
    pkg database/sql, type RawBytes []uint8
    pkg database/sql, type Result interface { LastInsertId, RowsAffected }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. test-site/activator-launch-1.3.2.jar

    ); } xsbt/boot/CrossVersionUtil$.class package xsbt.boot; public final synchronized class CrossVersionUtil$ { public static final CrossVersionUtil$ MODULE$; private final String trueString; private final String falseString; private final String fullString; private final String noneString; private final String disabledString; private final String binaryString; private final String TransitionScalaVersi; private final scala.util.matching.Regex PartialVersion; public static void <clinit>(); public final...
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (1)
Back to top