Skip to content

Commit 0d5ee91

Browse files
author
Pavel Romanov
committed
Small readme fix #2
1 parent 96086d3 commit 0d5ee91

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.MD

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,16 @@ This library using equal query definition to [query-template](https://github.com
107107

108108
```js
109109
const query = {
110-
sql: 'SELECT * FROM table', // String with SQL code
111-
addons: { // Object with named additions
112-
addonName: { // Addition object
113-
sql: 'AND field1 = :field1', // String with addition SQL
114-
additionOptions: { // Object with addition config
115-
propertyName: 'field1', // Name of templating property
116-
propertyValue: true, // Value of templating property
117-
}
118-
}
119-
}
110+
sql: 'SELECT * FROM table', // String with SQL code
111+
addons: { // Object with named additions
112+
addonName: { // Addition object
113+
sql: 'AND field1 = :field1', // String with addition SQL
114+
additionOptions: { // Object with addition config
115+
propertyName: 'field1', // Name of templating property
116+
propertyValue: true, // Value of templating property
117+
}
118+
}
119+
}
120120
}
121121
```
122122

0 commit comments

Comments
 (0)