Skip to content

Commit 3f2c850

Browse files
StartAutomatingStartAutomating
StartAutomating
authored and
StartAutomating
committed
feat: Get-GQL -Cache ( Fixes #2, Fixes #31 )
1 parent 3622960 commit 3f2c850

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/Get-GQL.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,14 @@ By decorating an object with one or more typenames, we can:
8888
|------------|--------|--------|-------------|---------------------------------------------------------------------------|
8989
|`[String[]]`|false |6 |false |Decorate<br/>Decoration<br/>PSTypeNames<br/>TypeName<br/>TypeNames<br/>Type|
9090

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+
9199
#### **WhatIf**
92100
-WhatIf is an automatic variable that is created when a command has ```[CmdletBinding(SupportsShouldProcess)]```.
93101
-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
103111

104112
### Syntax
105113
```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>]
107115
```

0 commit comments

Comments
 (0)