MCPcopy Create free account
hub / github.com/go-pg/pg / setSoftDeleteField

Method setSoftDeleteField

orm/model_table_struct.go:388–391  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

386}
387
388func (m *structTableModel) setSoftDeleteField() error {
389 fv := m.table.SoftDeleteField.Value(m.strct)
390 return m.table.SetSoftDeleteField(fv)
391}
392
393func splitColumn(s string) (string, string) {
394 ind := strings.Index(s, "__")

Callers

nothing calls this directly

Calls 1

ValueMethod · 0.65

Tested by

no test coverage detected