Skip to content

Commit eaa4451

Browse files
authored
1.0.0
1 parent ff4c832 commit eaa4451

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,19 @@ This does not support:
99
- Stored procedures.
1010
- Changing of the delimiter type to something else than ;.
1111

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
1325

1426
You can easily use `SQL.Formatter.SqlFormatter` :
1527

@@ -40,7 +52,7 @@ SqlFormatter.Format("SELECT * FROM tbl",
4052
);
4153
```
4254

43-
### Dialect
55+
## Dialect
4456

4557
You can pass dialect `SQL.Formatter.Language.Dialect` or `String` to `SqlFormatter.Of` :
4658

@@ -64,7 +76,7 @@ SQL formatter supports the following dialects:
6476
- **spark** - [Spark][]
6577
- **tsql** - [SQL Server Transact-SQL][tsql]
6678

67-
### Extend formatters
79+
## Extend formatters
6880

6981
Formatters can be extended as below :
7082

@@ -86,7 +98,7 @@ WHERE
8698
A => 4
8799
```
88100

89-
### Placeholders replacement
101+
## Placeholders replacement
90102

91103
You can pass `List` or `Dictionary` to `Format` :
92104

0 commit comments

Comments
 (0)