We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac1293 commit 26d1587Copy full SHA for 26d1587
1 file changed
docs/api/examples/plan-search.mdx
@@ -60,3 +60,31 @@ query QueryByArgValue($argPair: jsonb) {
60
}
61
62
```
63
+
64
+# Activity Directive Search
65
66
+## Query for Activity Directives with a Specific Activity Type
67
68
+```graphql
69
+query QueryPlansWithActivityType {
70
+ activity_directive(where: { type: { _eq: "GenerateData" } }) {
71
+ id
72
+ type
73
+ plan_id
74
+ }
75
+}
76
+```
77
78
+## Query for Activity Directives with a Specific Argument Value Across All Plans
79
80
+The query below retrieves all activity directives across all plans that have a specific argument substring present (e.g., "thrust"):
81
82
83
+query QueryPlansWithParameterSubstring {
84
+ activity_directive(where: { arguments: { _cast: { String: { _ilike: "%thrust%" } } } }) {
85
86
87
+ arguments
88
89
90
0 commit comments