- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for NullBool (0.12 sec)
-
migrator/column_type.go
DataTypeValue sql.NullString ColumnTypeValue sql.NullString PrimaryKeyValue sql.NullBool UniqueValue sql.NullBool AutoIncrementValue sql.NullBool LengthValue sql.NullInt64 DecimalSizeValue sql.NullInt64 ScaleValue sql.NullInt64 NullableValue sql.NullBool ScanTypeValue reflect.Type CommentValue sql.NullString DefaultValueValue sql.NullString }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 3.3K bytes - Viewed (0) -
migrator/index.go
package migrator import "database/sql" // Index implements gorm.Index interface type Index struct { TableName string NameValue string ColumnList []string PrimaryKeyValue sql.NullBool UniqueValue sql.NullBool OptionValue string } // Table return the table name of the index. func (idx Index) Table() string { return idx.TableName } // Name return the name of the index.
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Apr 11 02:32:46 UTC 2023 - 1023 bytes - Viewed (0) -
tests/scanner_valuer_test.go
} data := ScannerValuerStruct{ Name: sql.NullString{String: "name", Valid: true}, Gender: &sql.NullString{String: "M", Valid: true}, Age: sql.NullInt64{Int64: 18, Valid: true}, Male: sql.NullBool{Bool: true, Valid: true}, Height: sql.NullFloat64{Float64: 1.8888, Valid: true}, Birthday: sql.NullTime{Time: time.Now(), Valid: true}, Allergen: NullString{sql.NullString{String: "Allergen", Valid: true}},
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
tests/migrate_test.go
myIndex := &migrator.Index{TableName: table, NameValue: "my_us8_index", ColumnList: []string{"name"}, PrimaryKeyValue: sql.NullBool{Bool: false, Valid: true}, UniqueValue: sql.NullBool{Bool: true, Valid: true}}
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0) -
scan.go
} case *int, *int8, *int16, *int32, *int64, *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 (
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10K bytes - Viewed (0) -
src/database/sql/sql_test.go
func TestNullBoolParam(t *testing.T) { spec := nullTestSpec{"nullbool", "bool", [6]nullTestRow{ {NullBool{false, true}, true, NullBool{false, true}}, {NullBool{true, false}, false, NullBool{false, false}}, {true, true, NullBool{true, true}}, {NullBool{true, true}, false, NullBool{true, true}}, {NullBool{true, false}, true, NullBool{false, false}}, {true, NullBool{true, false}, nil}, }} nullTestRun(t, spec) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0) -
src/database/sql/fakedb_test.go
} panic("invalid fakedb column type of " + typ) } func colTypeToReflectType(typ string) reflect.Type { switch typ { case "bool": return reflect.TypeFor[bool]() case "nullbool": return reflect.TypeFor[NullBool]() case "int16": return reflect.TypeFor[int16]() case "nullint16": return reflect.TypeFor[NullInt16]() case "int32": return reflect.TypeFor[int32]() case "nullint32":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0) -
src/database/sql/sql.go
} return n.Float64, nil } // NullBool represents a bool that may be null. // NullBool implements the [Scanner] interface so // it can be used as a scan destination, similar to [NullString]. type NullBool struct { Bool bool Valid bool // Valid is true if Bool is not NULL } // Scan implements the [Scanner] interface. func (n *NullBool) Scan(value any) error { if value == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"NamedArg", Type, 8}, {"NamedArg.Name", Field, 8}, {"NamedArg.Value", Field, 8}, {"Null", Type, 22}, {"Null.V", Field, 22}, {"Null.Valid", Field, 22}, {"NullBool", Type, 0}, {"NullBool.Bool", Field, 0}, {"NullBool.Valid", Field, 0}, {"NullByte", Type, 17}, {"NullByte.Byte", Field, 17}, {"NullByte.Valid", Field, 17}, {"NullFloat64", Type, 0}, {"NullFloat64.Float64", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg database/sql, method (NullBool) Value() (driver.Value, error) pkg database/sql, method (NullFloat64) Value() (driver.Value, error) pkg database/sql, method (NullInt64) Value() (driver.Value, error) pkg database/sql, method (NullString) Value() (driver.Value, error) pkg database/sql, type DB struct pkg database/sql, type NullBool struct pkg database/sql, type NullBool struct, Bool bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)