File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,14 @@ By decorating an object with one or more typenames, we can:
88
88
| ------------| --------| --------| -------------| ---------------------------------------------------------------------------|
89
89
| ` [String[]] ` | false | 6 | false | Decorate<br />Decoration<br />PSTypeNames<br />TypeName<br />TypeNames<br />Type|
90
90
91
+ #### ** Cache**
92
+ If set, will cache the results of the query.
93
+ This can be useful for queries that would be run frequently, but change infrequently.
94
+
95
+ | Type | Required| Position| PipelineInput |
96
+ | ----------| --------| --------| ---------------------|
97
+ | ` [Switch] ` | false | named | true (ByPropertyName)|
98
+
91
99
#### ** WhatIf**
92
100
-WhatIf is an automatic variable that is created when a command has ``` [CmdletBinding(SupportsShouldProcess)] ``` .
93
101
-WhatIf is used to see what would happen, or return operations without executing them
@@ -103,5 +111,5 @@ If the command sets a ```[ConfirmImpact("Medium")]``` which is lower than ```$co
103
111
104
112
### Syntax
105
113
``` PowerShell
106
- Get-GQL [[-Query] <String[]>] [[-PersonalAccessToken] <String>] [[-GraphQLUri] <Uri>] [[-Parameter] <IDictionary>] [[-Header] <IDictionary>] [[-PSTypeName] <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
114
+ Get-GQL [[-Query] <String[]>] [[-PersonalAccessToken] <String>] [[-GraphQLUri] <Uri>] [[-Parameter] <IDictionary>] [[-Header] <IDictionary>] [[-PSTypeName] <String[]>] [-Cache] [- WhatIf] [-Confirm] [<CommonParameters>]
107
115
```
You can’t perform that action at this time.
0 commit comments