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
@@ -9,5 +9,5 @@ import { PageTitle } from '@site/src/components/PageTitle';
9
9
10
10
# Contributing
11
11
12
-
Want to improve something in **MySQL2**?
13
-
Please check [Contributing.md](https://github.com/sidorares/node-mysql2/blob/master/Contributing.md) for detailed instruction on how to get started.
12
+
Want to improve something in **singlestore-nodejs**?
13
+
Please check [Contributing.md](https://github.com/singlestore-labs/singlestore-nodejs/blob/master/Contributing.md) for detailed instruction on how to get started.
MySQL2 aims to be a drop in replacement for [Node MySQL][node-mysql].
14
+
**singlestore-nodejs** is a Node.js driver for SingleStoreDB, forked from [node-mysql2][node-mysql2]. It maintains compatibility with the MySQL protocol while providing optimized support for SingleStoreDB features.
15
15
16
16
:::note
17
-
_If you see any API incompatibilities with [Node MySQL][node-mysql], please report via github issue._
17
+
_This driver is based on [node-mysql2][node-mysql2] and maintains API compatibility. If you encounter any issues specific to SingleStoreDB, please report via GitHub issue._
18
18
:::
19
19
20
-
Not only **MySQL2** offers better performance over [Node MySQL][node-mysql], we also support these additional features:
With MySQL2 you also get the prepared statements. With prepared statements MySQL doesn't have to prepare plan for same query every time, this results in better performance. If you don't know why they are important, please check these discussions:
150
+
With SingleStore-Nodejs you also get the prepared statements. With prepared statements SingleStore doesn't have to prepare plan for same query every time, this results in better performance. If you don't know why they are important, please check these discussions:
151
151
152
152
-[How prepared statements can protect from SQL Injection attacks](https://stackoverflow.com/questions/8263371/how-can-prepared-statements-protect-from-sql-injection-attacks)
153
153
154
-
MySQL2 provides `execute` helper which will prepare and query the statement. You can also manually prepare / unprepare statement with `prepare` / `unprepare` methods.
154
+
SingleStore-Nodejs provides `execute` helper which will prepare and query the statement. You can also manually prepare / unprepare statement with `prepare` / `unprepare` methods.
155
155
156
156
> To explore more Prepared Statements and Placeholders examples, please visit the example section [**Prepared Statements**](/docs/examples/queries/prepared-statements).
@@ -217,7 +217,7 @@ If you execute same statement again, it will be picked from a LRU cache which wi
217
217
218
218
### Using Connection Pools
219
219
220
-
Connection pools help reduce the time spent connecting to the MySQL server by reusing a previous connection, leaving them open instead of closing when you are done with them.
220
+
Connection pools help reduce the time spent connecting to the SingleStore server by reusing a previous connection, leaving them open instead of closing when you are done with them.
221
221
222
222
This improves the latency of queries as you avoid all of the overhead that comes with establishing a new connection.
223
223
@@ -227,10 +227,10 @@ This improves the latency of queries as you avoid all of the overhead that comes
Need help? Ask your question on [Stack Overflow](https://stackoverflow.com/questions/tagged/mysql2) or [GitHub](https://github.com/sidorares/node-mysql2/discussions).
517
-
If you've encountered an issue, please [file it on GitHub](https://github.com/sidorares/node-mysql2/issues).
516
+
Need help? Ask your question on [Stack Overflow](https://stackoverflow.com/questions/tagged/singlestore-nodejs) or [GitHub](https://github.com/singlestore-labs/singlestore-nodejs/discussions).
517
+
If you've encountered an issue, please [file it on GitHub](https://github.com/singlestore-labs/singlestore-nodejs/issues).
0 commit comments