Skip to content

Commit 40393b8

Browse files
authored
Remove invalid trailing comma in date example (#115)
This commit removes an extra trailing comma the [snippet][docs] that demonstrates date/timestamp/timestamptz conversion. Copy/pasting the example caused a SQL syntax error. [docs]: https://node-postgres.com/features/types
1 parent caade49 commit 40393b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/features/5-types.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const createTableText = `
5959
CREATE TEMP TABLE dates(
6060
date_col DATE,
6161
timestamp_col TIMESTAMP,
62-
timestamptz_col TIMESTAMPTZ,
62+
timestamptz_col TIMESTAMPTZ
6363
);
6464
`
6565
// create our temp table

0 commit comments

Comments
 (0)