You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚧 For **MySQL2**, it already uses **SQL Escaper** as its default escaping library since version `3.17.0`, so you just need to update it to the latest version:
58
+
For **MySQL2**, it already uses **SQL Escaper** as its default escaping library since version `3.17.0`, so you just need to update it to the latest version:
59
59
60
60
```bash
61
-
npm i mysql2@latest# soon
61
+
npm i mysql2@latest
62
62
```
63
63
64
-
- Check the progress migration in [sidorares/node-mysql2#4054](https://github.com/sidorares/node-mysql2/pull/4054).
@@ -83,6 +81,8 @@ You can use an overrides in your _package.json_:
83
81
84
82
## Usage
85
83
84
+
For _up-to-date_ documentation, always follow the [**README.md**](https://github.com/mysqljs/sql-escaper?tab=readme-ov-file#readme) in the **GitHub** repository.
85
+
86
86
### Quickstart
87
87
88
88
```js
@@ -104,8 +104,6 @@ escape(raw('NOW()'));
104
104
// => 'NOW()'
105
105
```
106
106
107
-
> For _up-to-date_ documentation, always follow the [**README.md**](https://github.com/mysqljs/sql-escaper?tab=readme-ov-file#readme) in the **GitHub** repository.
108
-
109
107
### Import
110
108
111
109
#### ES Modules
@@ -355,12 +353,12 @@ Each benchmark formats `10,000` queries using `format` with `100` mixed values (
0 commit comments