MCPcopy
hub / github.com/writefreely/writefreely / SetPrimaryKey

Method SetPrimaryKey

db/create.go:142–145  ·  view source on GitHub ↗
(pk bool)

Source from the content-addressed store, hash-verified

140}
141
142func (c *Column) SetPrimaryKey(pk bool) *Column {
143 c.PrimaryKey = pk
144 return c
145}
146
147func (c *Column) SetDefault(value string) *Column {
148 c.Default = OptionalString{Set: true, Value: value}

Callers 1

Calls

no outgoing calls

Tested by 1