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

Method DeleteOne

ent/client.go:2243–2245  ·  view source on GitHub ↗

DeleteOne returns a builder for deleting the given entity.

(s *Setting)

Source from the content-addressed store, hash-verified

2241
2242// DeleteOne returns a builder for deleting the given entity.
2243func (c *SettingClient) DeleteOne(s *Setting) *SettingDeleteOne {
2244 return c.DeleteOneID(s.ID)
2245}
2246
2247// DeleteOneID returns a builder for deleting the given entity by its id.
2248func (c *SettingClient) DeleteOneID(id int) *SettingDeleteOne {

Callers

nothing calls this directly

Calls 1

DeleteOneIDMethod · 0.95

Tested by

no test coverage detected