MCPcopy Create free account
hub / github.com/an0nfunc/ALHP / SetNillableVersion

Method SetNillableVersion

ent/dbpackage_update.go:721–726  ·  view source on GitHub ↗

SetNillableVersion sets the "version" field if the given value is not nil.

(v *string)

Source from the content-addressed store, hash-verified

719 }
720 _u.mutation.done = true
721 return _node, nil
722}
723
724// DBPackageUpdateOne is the builder for updating a single DBPackage entity.
725type DBPackageUpdateOne struct {
726 config
727 fields []string
728 hooks []Hook
729 mutation *DBPackageMutation

Callers

nothing calls this directly

Calls 1

SetVersionMethod · 0.95

Tested by

no test coverage detected