Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Comfy-Org/registry-backend
/ functions
Functions
6,434 in github.com/Comfy-Org/registry-backend
⨍
Functions
6,434
◇
Types & classes
627
↓ 270 callers
Method
SetField
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the f
ent/mutation.go:5264
↓ 248 callers
Method
Error
(...any)
ent/enttest/enttest.go:22
↓ 126 callers
Method
Query
Query calls tx.Query.
ent/tx.go:236
↓ 121 callers
Method
String
String implements the fmt.Stringer.
ent/node.go:298
↓ 110 callers
Function
setContextOp
setContextOp returns a new context with the given QueryContext attached (including its op) in case it does not exist.
ent/ent.go:546
↓ 99 callers
Function
TraceDefaultSegment
(ctx context.Context, segmentName string)
tracing/tracing.go:9
↓ 94 callers
Method
Dialect
Dialect returns the dialect of the driver we started the transaction from.
ent/tx.go:217
↓ 84 callers
Method
ClearField
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
ent/mutation.go:5491
↓ 84 callers
Method
Where
Where adds a new predicate for the NodeQuery builder.
ent/node_query.go:40
↓ 68 callers
Function
withMiddleware
(mw drip.StrictMiddlewareFunc, h func(ctx context.Context, req R) (res S, err error))
integration-tests/test_util.go:383
↓ 64 callers
Method
UpdateTime
UpdateTime returns the value of the "update_time" field in the mutation.
ent/mutation.go:4185
↓ 62 callers
Method
String
()
ent/schema/node_version.go:115
↓ 58 callers
Function
IsNotFound
IsNotFound returns a boolean indicating whether the error is a not found error.
ent/ent.go:227
↓ 49 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the CIWorkflowResultCreate.OnConflict documentation for more info.
ent/ciworkflowresult_create.go:894
↓ 49 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the CIWorkflowResultCreateBulk.OnConflict documentation for more info.
ent/ciworkflowresult_create.go:1455
↓ 48 callers
Method
Save
Save creates the Node in the database.
ent/node_create.go:282
↓ 47 callers
Method
Get
Get returns a Node entity by its id.
ent/client.go:852
↓ 46 callers
Method
CreateTime
CreateTime returns the value of the "create_time" field in the mutation.
ent/mutation.go:4149
↓ 44 callers
Function
withHooks
withHooks invokes the builder operation with the given hooks, if any.
ent/ent.go:512
↓ 43 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the NodeCreate.OnConflict documentation for more info.
ent/node_create.go:894
↓ 43 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the NodeCreateBulk.OnConflict documentation for more info.
ent/node_create.go:1413
↓ 38 callers
Method
Status
Status returns the value of the "status" field in the mutation.
ent/mutation.go:4816
↓ 33 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the ComfyNodeCreate.OnConflict documentation for more info.
ent/comfynode_create.go:684
↓ 33 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the ComfyNodeCreateBulk.OnConflict documentation for more info.
ent/comfynode_create.go:1133
↓ 32 callers
Method
Close
Close is a nop close.
ent/tx.go:220
↓ 32 callers
Method
Exec
Exec calls tx.Exec.
ent/tx.go:231
↓ 24 callers
Method
Fields
()
ent/schema/node.go:17
↓ 24 callers
Method
GET
(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc)
drip/api.gen.go:1812
↓ 23 callers
Method
Mutate
Mutate implements the ent.Mutator interface.
ent/client.go:265
↓ 23 callers
Method
Only
Only returns a single Node entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Node entity is foun
ent/node_query.go:184
↓ 23 callers
Method
Op
Op returns the operation name.
ent/mutation.go:5095
↓ 23 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/node_query.go:59
↓ 22 callers
Method
Name
Name returns the value of the "name" field in the mutation.
ent/mutation.go:4293
↓ 22 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the NodeVersionCreate.OnConflict documentation for more info.
ent/nodeversion_create.go:670
↓ 22 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the NodeVersionCreateBulk.OnConflict documentation for more info.
ent/nodeversion_create.go:1042
↓ 22 callers
Function
scanWithInterceptors
(ctx context.Context, rootQuery Q1, selectOrGroup Q2, inters []Interceptor, v any)
ent/ent.go:593
↓ 21 callers
Method
Query
Query returns a query builder for Node.
ent/client.go:843
↓ 21 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the GitCommitCreate.OnConflict documentation for more info.
ent/gitcommit_create.go:543
↓ 21 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the GitCommitCreateBulk.OnConflict documentation for more info.
ent/gitcommit_create.go:908
↓ 21 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the PublisherCreate.OnConflict documentation for more info.
ent/publisher_create.go:610
↓ 21 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the PublisherCreateBulk.OnConflict documentation for more info.
ent/publisher_create.go:975
↓ 20 callers
Method
Bool
Bool returns a single bool from a selector. It is only allowed when selecting one field.
ent/ent.go:486
↓ 20 callers
Method
Client
Client returns a Client that binds to current transaction.
ent/tx.go:159
↓ 18 callers
Method
All
All executes the query and returns a list of Nodes.
ent/node_query.go:237
↓ 18 callers
Method
PublisherIDs
PublisherIDs returns the "publisher" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use Publish
ent/mutation.go:4958
↓ 17 callers
Method
Create
Create returns a builder for creating a Node entity.
ent/client.go:780
↓ 17 callers
Method
ID
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the databa
ent/mutation.go:4117
↓ 16 callers
Method
AddField
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the
ent/mutation.go:5430
↓ 15 callers
Method
CreateNode
Create a new custom node (POST /publishers/{publisherId}/nodes)
drip/api.gen.go:759
↓ 15 callers
Method
UpdateNode
Update a specific node (PUT /publishers/{publisherId}/nodes/{nodeId})
drip/api.gen.go:765
↓ 14 callers
Method
Description
Description returns the value of the "description" field in the mutation.
ent/mutation.go:4329
↓ 14 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the UserCreate.OnConflict documentation for more info.
ent/user_create.go:519
↓ 14 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the UserCreateBulk.OnConflict documentation for more info.
ent/user_create.go:835
↓ 14 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the StorageFileCreate.OnConflict documentation for more info.
ent/storagefile_create.go:445
↓ 14 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the StorageFileCreateBulk.OnConflict documentation for more info.
ent/storagefile_create.go:761
↓ 13 callers
Method
FieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:1576
↓ 13 callers
Method
init
()
ent/client.go:69
↓ 12 callers
Method
Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
ent/mutation.go:4092
↓ 12 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/node_query.go:46
↓ 12 callers
Method
NodeIDs
NodeIDs returns the "node" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use NodeID instead. I
ent/mutation.go:5996
↓ 12 callers
Method
PublisherCleared
PublisherCleared reports if the "publisher" edge to the Publisher entity was cleared.
ent/mutation.go:4951
↓ 12 callers
Method
UpdateOne
UpdateOne returns an update builder for the given entity.
ent/client.go:812
↓ 12 callers
Method
UserIDs
UserIDs returns the "user" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use UserID instead. I
ent/mutation.go:5969
↓ 12 callers
Method
Where
Where appends a list predicates to the NodeMutation builder.
ent/mutation.go:5080
↓ 12 callers
Method
init
()
ent/tx.go:167
↓ 11 callers
Method
Count
Count returns the count of the given query.
ent/node_query.go:277
↓ 11 callers
Method
POST
(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc)
drip/api.gen.go:1816
↓ 11 callers
Method
SetStatus
SetStatus sets the "status" field.
ent/mutation.go:4811
↓ 11 callers
Method
Update
Update returns a builder for updating this Node. Note that you need to call Node.Unwrap() before calling this method if this Node was returned from a
ent/node.go:282
↓ 11 callers
Method
Use
Use adds the mutation hooks to all the entity clients. In order to add hooks to a specific client, call: `client.Node.Use(...)`.
ent/client.go:242
↓ 11 callers
Function
WithTx
(ctx context.Context, client *ent.Client, fn func(tx *ent.Tx) error)
db/tx.go:65
↓ 11 callers
Method
assertPublisherPermission
assertPublisherPermission checks if the user has the required permissions for the publisher
server/middleware/authorization/authorization_manager.go:83
↓ 11 callers
Method
mutate
(ctx context.Context, m *NodeMutation)
ent/client.go:923
↓ 11 callers
Function
querierAll
()
ent/ent.go:554
↓ 11 callers
Function
randomNodeVersion
Helper function to generate a random NodeVersion for testing
integration-tests/test_util.go:215
↓ 11 callers
Method
scanValues
scanValues returns the types for scanning values from sql.Rows.
ent/node.go:108
↓ 11 callers
Function
withInterceptors
(ctx context.Context, q Query, qr Querier, inters []Interceptor)
ent/ent.go:578
↓ 10 callers
Method
AuthorizationMiddleware
()
server/middleware/authorization/authorization_middleware.go:11
↓ 10 callers
Method
Deprecated
Deprecated returns the value of the "deprecated" field in the mutation.
ent/mutation.go:2217
↓ 10 callers
Method
Field
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in t
ent/mutation.go:5174
↓ 10 callers
Method
IDs
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction w
ent/mutation.go:4128
↓ 10 callers
Method
QueryNodes
QueryNodes queries the "nodes" edge of the Publisher entity.
ent/publisher.go:189
↓ 10 callers
Method
SetName
SetName sets the "name" field.
ent/mutation.go:4288
↓ 10 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the PersonalAccessTokenCreate.OnConflict documentation for more info.
ent/personalaccesstoken_create.go:400
↓ 10 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the PersonalAccessTokenCreateBulk.OnConflict documentation for more info.
ent/personalaccesstoken_create.go:688
↓ 10 callers
Function
init
The init function reads all schema descriptors with runtime code (default values, validators, hooks and policies) and stitches it to their package var
ent/runtime.go:25
↓ 9 callers
Function
DbNodeVersionToApiNodeVersion
(dbNodeVersion *ent.NodeVersion)
mapper/node_version.go:50
↓ 9 callers
Method
FieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:2866
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:435
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:584
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:733
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:914
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1079
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1260
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1409
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1590
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1755
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1888
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:2053
↓ 9 callers
Method
Mixin
()
ent/schema/node.go:65
next →
1–100 of 6,434, ranked by callers