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

Method SetWeb

bench/ent/mutation.go:257–259  ·  view source on GitHub ↗

SetWeb sets the "web" field.

(s string)

Source from the content-addressed store, hash-verified

255
256// SetWeb sets the "web" field.
257func (m *ModelMutation) SetWeb(s string) {
258 m.web = &s
259}
260
261// Web returns the value of the "web" field in the mutation.
262func (m *ModelMutation) Web() (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