MCPcopy Create free account
hub / github.com/Comfy-Org/registry-backend / IDsX

Method IDsX

ent/nodeversion_query.go:270–276  ·  view source on GitHub ↗

IDsX is like IDs, but panics if an error occurs.

(ctx context.Context)

Source from the content-addressed store, hash-verified

268
269// IDsX is like IDs, but panics if an error occurs.
270func (nvq *NodeVersionQuery) IDsX(ctx context.Context) []uuid.UUID {
271 ids, err := nvq.IDs(ctx)
272 if err != nil {
273 panic(err)
274 }
275 return ids
276}
277
278// Count returns the count of the given query.
279func (nvq *NodeVersionQuery) Count(ctx context.Context) (int, error) {

Callers

nothing calls this directly

Calls 1

IDsMethod · 0.95

Tested by

no test coverage detected