Digest returns the value of the "digest" field in the mutation.
()
| 12919 | |
| 12920 | // Digest returns the value of the "digest" field in the mutation. |
| 12921 | func (m *ReferrerMutation) Digest() (r string, exists bool) { |
| 12922 | v := m.digest |
| 12923 | if v == nil { |
| 12924 | return |
| 12925 | } |
| 12926 | return *v, true |
| 12927 | } |
| 12928 | |
| 12929 | // OldDigest returns the old "digest" field's value of the Referrer entity. |
| 12930 | // If the Referrer object wasn't provided to the builder, the object is fetched from the database. |
no outgoing calls