File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,19 @@ This does not support:
9
9
- Stored procedures.
10
10
- Changing of the delimiter type to something else than ;.
11
11
12
- ## Examples
12
+ # Usage
13
+
14
+ ## NuGet
15
+
16
+ To install the Hogimn.Sql.Formatter package with NuGet, you can use the following command in your terminal or command prompt.
17
+
18
+ ``` bash
19
+ dotnet add package Hogimn.Sql.Formatter --version 1.0.0
20
+ ```
21
+
22
+ For more details, visit the [ NuGet Gallery] ( https://www.nuget.org/packages/Hogimn.Sql.Formatter/ ) page.
23
+
24
+ # Examples
13
25
14
26
You can easily use ` SQL.Formatter.SqlFormatter ` :
15
27
@@ -40,7 +52,7 @@ SqlFormatter.Format("SELECT * FROM tbl",
40
52
);
41
53
```
42
54
43
- ### Dialect
55
+ ## Dialect
44
56
45
57
You can pass dialect ` SQL.Formatter.Language.Dialect ` or ` String ` to ` SqlFormatter.Of ` :
46
58
@@ -64,7 +76,7 @@ SQL formatter supports the following dialects:
64
76
- ** spark** - [ Spark] [ ]
65
77
- ** tsql** - [ SQL Server Transact-SQL] [ tsql ]
66
78
67
- ### Extend formatters
79
+ ## Extend formatters
68
80
69
81
Formatters can be extended as below :
70
82
86
98
A => 4
87
99
```
88
100
89
- ### Placeholders replacement
101
+ ## Placeholders replacement
90
102
91
103
You can pass ` List ` or ` Dictionary ` to ` Format ` :
92
104
You can’t perform that action at this time.
0 commit comments