@@ -74,18 +74,21 @@ If multiple collections are passed, the above query is essentially replicated
74
74
across all collections, see examples in 'tests/cols.ts'. In the future this
75
75
will also accommodate multiple key searches.
76
76
77
+
78
+ ___
77
79
## setup
78
80
79
81
1) running generated AQL queries will require a working arangodb instance.
80
82
81
83
## installation
82
84
currently there is only support for server-side use.
83
85
84
- 1) clone this repository in your node compatible project.
85
- 2) run `yarn add @hp4klh5/AQLqueryBuilder.js`
86
+ 1) clone this repository in your node compatible project.
87
+ __or__
88
+ run `yarn add @hp4klh5/AQLqueryBuilder.js`
86
89
or `npm install --save @hp4klh5/AQLqueryBuilder.js`
87
90
in a directory containing a `package.json` file.
88
- 3 ) import/require the exported functions
91
+ 2 ) import/require the exported functions
89
92
```js
90
93
// use either
91
94
import {buildAQL} from '@hp4klh5/AQLqueryBuilder.js'
193
196
}
194
197
```
195
198
199
+
200
+ ___
196
201
### boolean search logic
197
202
198
203
Quoting [ mit's Database Search Tips] ( https://libguides.mit.edu/c.php?g=175963&p=1158594 ) :
@@ -237,6 +242,7 @@ optional and is counted as an `OR`.
237
242
238
243
Please see [ tests/parse.ts] ( tests/parse.ts ) for more examples.
239
244
245
+
240
246
#### Example
241
247
242
248
input ` one +two -"buckle my shoe" ` and ` parseQuery() ` will interpret that
@@ -270,6 +276,8 @@ only Document B is returned;
270
276
Document A is excluded by the phrase "buckle my shoe"
271
277
Document C does not contain the mandatory word "two"
272
278
279
+
280
+ ___
273
281
## bugs
274
282
plase see [ bugs] ( https://github.com/HP4k1h5/AQLqueryBuilder.js/issues/new?assignees=HP4k1h5&labels=bug&template=bug_report.md&title=basic )
275
283
## contributing
0 commit comments