MCPcopy Create free account
hub / github.com/efectn/go-orm-benchmarks / SetFax

Method SetFax

bench/ent/mutation.go:221–223  ·  view source on GitHub ↗

SetFax sets the "fax" field.

(s string)

Source from the content-addressed store, hash-verified

219
220// SetFax sets the "fax" field.
221func (m *ModelMutation) SetFax(s string) {
222 m.fax = &s
223}
224
225// Fax returns the value of the "fax" field in the mutation.
226func (m *ModelMutation) Fax() (r string, exists bool) {

Callers 6

SetFieldMethod · 0.95
InsertMethod · 0.45
InsertMultiMethod · 0.45
UpdateMethod · 0.45
ReadMethod · 0.45
ReadSliceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected