diff --git a/docs/language.md b/docs/language.md index 83b0328c98..a3d36d15cf 100644 --- a/docs/language.md +++ b/docs/language.md @@ -7,7 +7,7 @@ Specifies the SQL dialect to use. ```ts import { format } from 'sql-formatter'; -const result = format('SELECT * FROM tbl', { dialect: 'sqlite' }); +const result = format('SELECT * FROM tbl', { language: 'sqlite' }); ``` ## Options