queryfilters
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -0,1 +1,5 @@ | ||
# Example | ||
## With applyFilter methods | ||
```javascript | ||
@@ -8,4 +12,17 @@ var queryQl = new QueryQl() | ||
## With json methods | ||
```javascript | ||
var queryQl = new QueryQl() | ||
queryQl.json({ | ||
'_embedded.relation.nick', '@sensorario', | ||
'_embedded.foo.bar.name', 'Simone' | ||
}); | ||
var querystring = queryQl.getQueryString(); | ||
``` | ||
## Result | ||
`querystring` will contains: | ||
rel=relation,foo,bar&filtering[_embedded.relation.nick]=@sensorario&filtering[_embedded.foo.bar.name]=Simone |
{ | ||
"name": "queryfilters", | ||
"version": "v0.2.2", | ||
"version": "v0.2.3", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "test": "jest" |
@@ -192,5 +192,5 @@ function Combinators () { | ||
window.module = window.module || {}; | ||
global.module = global.module || {}; | ||
(module || {}).exports = QueryQl; | ||
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
13954