Skip to content

Commit ca13878

Browse files
authored
Merge branch 'main' into release-please--branches--main--components--sql-escaper
2 parents fd0244c + b363a54 commit ca13878

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,21 @@ Each benchmark formats `10,000` queries using `format` with `100` mixed values (
330330
331331
---
332332

333+
## Features
334+
335+
- **TypeScript** by default.
336+
- Ships both **CJS** and **ESM** exports.
337+
- Support multi lines, spaces and tables.
338+
- Support **SQL** comments, including multi line comments.
339+
- Distinguish when a keyword is used in a value.
340+
- Distinguish between `SET`, `KEY UPDATE`, and `WHERE` clauses in the same queries.
341+
- Distinguish when a column has a keyword name.
342+
343+
---
344+
333345
## Differences from sqlstring
334346

335347
- Requires **Node.js 12+** (the original [**sqlstring**](https://github.com/mysqljs/sqlstring) supports **Node.js** 0.6+)
336-
- **TypeScript** by default
337-
- Ships both **CJS** and **ESM** exports
338348

339349
> [!TIP]
340350
>

0 commit comments

Comments
 (0)