bridge-odata
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "bridge-odata", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Retsly OData JS SDK", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -82,17 +82,23 @@ const request = require('superagent') | ||
this.query.$skip = data | ||
return this | ||
} | ||
$select (data) { | ||
this.query.$select = data | ||
return this | ||
} | ||
$top (data) { | ||
this.query.$top = data | ||
return this | ||
} | ||
$orderby (data) { | ||
this.query.$orderby = data | ||
return this | ||
} | ||
$expand (data) { | ||
this.query.$expand = data | ||
return this | ||
} | ||
$filter (data) { | ||
this.query.$filter = new Filter(data).toString() | ||
return this | ||
} | ||
@@ -99,0 +105,0 @@ |
18085
454