Skip to content

Commit 4042a20

Browse files
committed
Updating readme
1 parent c1fcd1f commit 4042a20

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ const sqlArray = parser.toArray(sql); // Array
175175

176176
#### see [here](https://github.com/shaunpersad/sql-where-parser/blob/master/API.md#defaultconfigobject) for all options
177177

178+
Modifying the config can be used to add new operators:
179+
178180
```js
179181
const config = SqlWhereParser.defaultConfig; // start off with the default config.
180182
config.operators[5]['<=>'] = 2; // number of operands to expect for this operator.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sql-where-parser",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "Parses an SQL-like WHERE string into various forms.",
55
"main": "SqlWhereParser.js",
66
"scripts": {

0 commit comments

Comments
 (0)