We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1fcd1f commit 4042a20Copy full SHA for 4042a20
README.md
@@ -175,6 +175,8 @@ const sqlArray = parser.toArray(sql); // Array
175
176
#### see [here](https://github.com/shaunpersad/sql-where-parser/blob/master/API.md#defaultconfigobject) for all options
177
178
+Modifying the config can be used to add new operators:
179
+
180
```js
181
const config = SqlWhereParser.defaultConfig; // start off with the default config.
182
config.operators[5]['<=>'] = 2; // number of operands to expect for this operator.
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "sql-where-parser",
3
- "version": "2.1.0",
+ "version": "2.1.1",
4
"description": "Parses an SQL-like WHERE string into various forms.",
5
"main": "SqlWhereParser.js",
6
"scripts": {
0 commit comments