MCPcopy
hub / github.com/go-gorm/gorm / DefaultValueOf

Method DefaultValueOf

interfaces.go:17–17  ·  view source on GitHub ↗
(*schema.Field)

Source from the content-addressed store, hash-verified

15 Migrator(db *DB) Migrator
16 DataTypeOf(*schema.Field) string
17 DefaultValueOf(*schema.Field) clause.Expression
18 BindVarTo(writer clause.Writer, stmt *Statement, v interface{})
19 QuoteTo(clause.Writer, string)
20 Explain(sql string, vars ...interface{}) string

Callers 1

ConvertToCreateValuesFunction · 0.65

Implementers 2

DummyDialectorutils/tests/dummy_dialecter.go
testDialectortests/chainable_api_test.go

Calls

no outgoing calls

Tested by

no test coverage detected