Skip to content

Commit a4e4070

Browse files
committed
Improve docs
1 parent 8d81244 commit a4e4070

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ All fields are optional and all fields that are not specified will be filled wit
151151
- [**`useTabs`**](docs/useTabs.md) to use tabs for indentation.
152152
- [**`keywordCase`**](docs/keywordCase.md) uppercases or lowercases keywords.
153153
- [**`identifierCase`**](docs/identifierCase.md) uppercases or lowercases identifiers. (**experimental!**)
154+
- [**`dataTypeCase`**](docs/dataTypeCase.md) uppercases or lowercases data types. (**experimental!**)
155+
- [**`functionCase`**](docs/functionCase.md) uppercases or lowercases function names. (**experimental!**)
154156
- [**`indentStyle`**](docs/indentStyle.md) defines overall indentation style.
155157
- [**`logicalOperatorNewline`**](docs/logicalOperatorNewline.md) newline before or after boolean operator (AND, OR, XOR).
156158
- [**`expressionWidth`**](docs/expressionWidth.md) maximum number of characters in parenthesized expressions to be kept on single line.

docs/dataTypeCase.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Note: Casing of function names like `VARCHAR(30)` are not modified - instead rel
1818
CREATE TABLE
1919
users (
2020
id InTeGeR PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
21-
first_name VARCHAR(30) NOT NULL,
21+
first_name VarChaR(30) NOT NULL,
2222
bio teXT,
2323
is_email_verified BooL NOT NULL DEFAULT FALSE,
2424
created_timestamp timestamPtz NOT NULL DEFAULT NOW()
@@ -31,7 +31,7 @@ CREATE TABLE
3131
CREATE TABLE
3232
users (
3333
id INTEGER PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
34-
first_name VARCHAR(30) NOT NULL,
34+
first_name VarChaR(30) NOT NULL,
3535
bio TEXT,
3636
is_email_verified BOOL NOT NULL DEFAULT FALSE,
3737
created_timestamp TIMESTAMPTZ NOT NULL DEFAULT NOW()
@@ -44,7 +44,7 @@ CREATE TABLE
4444
CREATE TABLE
4545
users (
4646
id integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
47-
first_name VARCHAR(30) NOT NULL,
47+
first_name VarChaR(30) NOT NULL,
4848
bio text,
4949
is_email_verified bool NOT NULL DEFAULT FALSE,
5050
created_timestamp timestamptz NOT NULL DEFAULT NOW()

docs/functionCase.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# functionCase (experimental)
22

3-
Converts functions to upper- or lowercase.
3+
Converts function names to upper- or lowercase.
44

55
## Options
66

@@ -11,7 +11,7 @@ Converts functions to upper- or lowercase.
1111
### preserve
1212

1313
```sql
14-
CREATE tabLE
14+
CREATE TABLE
1515
users (
1616
id iNtegeR PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
1717
first_name VarChaR(30) NOT NULL,
@@ -24,7 +24,7 @@ CREATE tabLE
2424
### upper
2525

2626
```sql
27-
CREATE tabLE
27+
CREATE TABLE
2828
users (
2929
id iNtegeR PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
3030
first_name VARCHAR(30) NOT NULL,
@@ -37,7 +37,7 @@ CREATE tabLE
3737
### lower
3838

3939
```sql
40-
CREATE tabLE
40+
CREATE TABLE
4141
users (
4242
id iNtegeR PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
4343
first_name varchar(30) NOT NULL,

0 commit comments

Comments
 (0)