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

Method DeleteOne

ent/client.go:2378–2380  ·  view source on GitHub ↗

DeleteOne returns a builder for deleting the given entity.

(s *Share)

Source from the content-addressed store, hash-verified

2376
2377// DeleteOne returns a builder for deleting the given entity.
2378func (c *ShareClient) DeleteOne(s *Share) *ShareDeleteOne {
2379 return c.DeleteOneID(s.ID)
2380}
2381
2382// DeleteOneID returns a builder for deleting the given entity by its id.
2383func (c *ShareClient) DeleteOneID(id int) *ShareDeleteOne {

Callers

nothing calls this directly

Calls 1

DeleteOneIDMethod · 0.95

Tested by

no test coverage detected