mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-22 20:41:40 +02:00
Implement part of Node query GraphQL callbacks
This commit is contained in:
@@ -214,9 +214,11 @@ func (r *NodeRepository) DeleteNode(id int64) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO: Implement order by
|
||||
func (r *NodeRepository) QueryNodes(
|
||||
ctx context.Context,
|
||||
filters []*model.NodeFilter,
|
||||
order *model.OrderByInput,
|
||||
) ([]*schema.Node, error) {
|
||||
query, qerr := SecurityCheck(ctx, sq.Select(jobColumns...).From("node"))
|
||||
if qerr != nil {
|
||||
|
Reference in New Issue
Block a user