MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / WithPasskey

Method WithPasskey

ent/user_query.go:530–537  ·  view source on GitHub ↗

WithPasskey tells the query-builder to eager-load the nodes that are connected to the "passkey" edge. The optional arguments are used to configure the query builder of the edge.

(opts ...func(*PasskeyQuery))

Source from the content-addressed store, hash-verified

528// WithPasskey tells the query-builder to eager-load the nodes that are connected to
529// the "passkey" edge. The optional arguments are used to configure the query builder of the edge.
530func (uq *UserQuery) WithPasskey(opts ...func(*PasskeyQuery)) *UserQuery {
531 query := (&PasskeyClient{config: uq.config}).Query()
532 for _, opt := range opts {
533 opt(query)
534 }
535 uq.withPasskey = query
536 return uq
537}
538
539// WithTasks tells the query-builder to eager-load the nodes that are connected to
540// the "tasks" edge. The optional arguments are used to configure the query builder of the edge.

Callers 1

withUserEagerLoadingFunction · 0.80

Calls 1

QueryMethod · 0.45

Tested by

no test coverage detected