MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / ID

Method ID

ent/mutation.go:4701–4706  ·  view source on GitHub ↗

ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.

()

Source from the content-addressed store, hash-verified

4699// ID returns the ID value in the mutation. Note that the ID is only available
4700// if it was provided to the builder or after it was returned from the database.
4701func (m *FsEventMutation) ID() (id int, exists bool) {
4702 if m.id == nil {
4703 return
4704 }
4705 return *m.id, true
4706}
4707
4708// IDs queries the database and returns the entity ids that match the mutation's predicate.
4709// That means, if the mutation is applied within a transaction with an isolation level such

Callers 1

IDsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected