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

Method Query

ent/client.go:420–426  ·  view source on GitHub ↗

Query returns a query builder for DavAccount.

()

Source from the content-addressed store, hash-verified

418
419// Query returns a query builder for DavAccount.
420func (c *DavAccountClient) Query() *DavAccountQuery {
421 return &DavAccountQuery{
422 config: c.config,
423 ctx: &QueryContext{Type: TypeDavAccount},
424 inters: c.Interceptors(),
425 }
426}
427
428// Get returns a DavAccount entity by its id.
429func (c *DavAccountClient) Get(ctx context.Context, id int) (*DavAccount, error) {

Callers 1

GetMethod · 0.95

Calls 1

InterceptorsMethod · 0.95

Tested by

no test coverage detected