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

Method Query

ent/client.go:1787–1793  ·  view source on GitHub ↗

Query returns a query builder for OAuthClient.

()

Source from the content-addressed store, hash-verified

1785
1786// Query returns a query builder for OAuthClient.
1787func (c *OAuthClientClient) Query() *OAuthClientQuery {
1788 return &OAuthClientQuery{
1789 config: c.config,
1790 ctx: &QueryContext{Type: TypeOAuthClient},
1791 inters: c.Interceptors(),
1792 }
1793}
1794
1795// Get returns a OAuthClient entity by its id.
1796func (c *OAuthClientClient) Get(ctx context.Context, id int) (*OAuthClient, error) {

Callers 1

GetMethod · 0.95

Calls 1

InterceptorsMethod · 0.95

Tested by

no test coverage detected