Skip to content

Commit 632fdd1

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent 26566a6 commit 632fdd1

File tree

1 file changed

+32
-20
lines changed

1 file changed

+32
-20
lines changed

docs/SQL.Template.md

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
SQL.Template
22
------------
3+
4+
5+
6+
37
### Synopsis
48
SQL Template Transpiler.
59

10+
11+
612
---
13+
14+
715
### Description
816

917
Allows PipeScript to generate SQL.
@@ -25,7 +33,11 @@ Uncommented lines between these two points will be ignored
2533
-- }
2634
```
2735

36+
37+
2838
---
39+
40+
2941
### Examples
3042
#### EXAMPLE 1
3143
```PowerShell
@@ -45,82 +57,82 @@ Uncommented lines between these two points will be ignored
4557
}
4658

4759
Invoke-PipeScript .\HelloWorld.ps1.sql
60+
61+
4862
---
63+
64+
4965
### Parameters
5066
#### **CommandInfo**
5167

5268
The command information. This will include the path to the file.
5369

5470

5571

56-
> **Type**: ```[CommandInfo]```
5772

58-
> **Required**: true
5973

60-
> **Position**: named
6174

62-
> **PipelineInput**:true (ByValue)
75+
|Type |Required|Position|PipelineInput |
76+
|---------------|--------|--------|--------------|
77+
|`[CommandInfo]`|true |named |true (ByValue)|
6378

6479

6580

66-
---
6781
#### **AsTemplateObject**
6882

6983
If set, will return the information required to dynamically apply this template to any text.
7084

7185

7286

73-
> **Type**: ```[Switch]```
7487

75-
> **Required**: true
7688

77-
> **Position**: named
7889

79-
> **PipelineInput**:false
90+
|Type |Required|Position|PipelineInput|
91+
|----------|--------|--------|-------------|
92+
|`[Switch]`|true |named |false |
8093

8194

8295

83-
---
8496
#### **Parameter**
8597

8698
A dictionary of parameters.
8799

88100

89101

90-
> **Type**: ```[IDictionary]```
91102

92-
> **Required**: false
93103

94-
> **Position**: named
95104

96-
> **PipelineInput**:false
105+
|Type |Required|Position|PipelineInput|
106+
|---------------|--------|--------|-------------|
107+
|`[IDictionary]`|false |named |false |
97108

98109

99110

100-
---
101111
#### **ArgumentList**
102112

103113
A list of arguments.
104114

105115

106116

107-
> **Type**: ```[PSObject[]]```
108117

109-
> **Required**: false
110118

111-
> **Position**: named
112119

113-
> **PipelineInput**:false
120+
|Type |Required|Position|PipelineInput|
121+
|--------------|--------|--------|-------------|
122+
|`[PSObject[]]`|false |named |false |
123+
124+
114125

115126

116127

117128
---
129+
130+
118131
### Syntax
119132
```PowerShell
120133
SQL.Template -CommandInfo <CommandInfo> [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
121134
```
122135
```PowerShell
123136
SQL.Template -AsTemplateObject [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
124137
```
125-
---
126138

0 commit comments

Comments
 (0)