MCPcopy
hub / github.com/Wei-Shaw/sub2api / SetUserID

Method SetUserID

backend/ent/mutation.go:370–372  ·  view source on GitHub ↗

SetUserID sets the "user_id" field.

(i int64)

Source from the content-addressed store, hash-verified

368
369// SetUserID sets the "user_id" field.
370func (m *APIKeyMutation) SetUserID(i int64) {
371 m.user = &i
372}
373
374// UserID returns the value of the "user_id" field in the mutation.
375func (m *APIKeyMutation) UserID() (r int64, exists bool) {

Calls

no outgoing calls