Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/serve/graphql/dataloaders/operation_loaders.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type OperationColumnsKey struct {
SortOrder data.SortOrder
}

// opByTxHashLoader creates a dataloader for fetching operations by transaction hash
// operationsByTxHashLoader creates a dataloader for fetching operations by transaction hash
// This prevents N+1 queries when multiple transactions request their operations
// The loader batches multiple transaction hashes into a single database query
func operationsByTxHashLoader(models *data.Models) *dataloadgen.Loader[OperationColumnsKey, []*types.OperationWithCursor] {
Expand Down