[CONJS-101] Escape functions API Created: 2019-10-03 Updated: 2020-02-03 Resolved: 2019-10-09 |
|
| Status: | Closed |
| Project: | MariaDB Connector/node.js |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.2 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Add Escape fonction API https://github.com/mysqljs/mysql#escaping-query-values
mysqljs/mysql has another API `format` that doesn't seem to have any reason to be implemented. Escape / EscapeId makes sense to implements even if there will be some limitations. Escape function is mostly for easy use, but compare to using placeholder this have some limitations : Documentation about escaping must describe preference to use question mark placeholder. |