@zazuko/query-rdf-data-cube
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -0,1 +1,16 @@ | ||
<a name="0.2.3"></a> | ||
## [0.2.3](https://github.com/zazuko/query-rdf-data-cube/compare/v0.2.2...v0.2.3) (2019-10-30) | ||
### Bug Fixes | ||
* **query:** no result is not interpreted as an error ([073b4dd](https://github.com/zazuko/query-rdf-data-cube/commit/073b4dd)) | ||
### Features | ||
* **query:** limit can be explicitly removed ([5716e1b](https://github.com/zazuko/query-rdf-data-cube/commit/5716e1b)) | ||
<a name="0.2.2"></a> | ||
@@ -2,0 +17,0 @@ ## [0.2.2](https://github.com/zazuko/query-rdf-data-cube/compare/v0.2.1...v0.2.2) (2019-10-23) |
@@ -90,7 +90,8 @@ import { Literal, NamedNode } from "rdf-js"; | ||
/** | ||
* Limit the number of results to return. Defaults to `10`. | ||
* Limit the number of results to return. Defaults to `10`, even when `.limit()` is not used. | ||
* Use `.limit(null)` to remove the default limit and get all results. | ||
* | ||
* @param {number} How many results to return. | ||
* @param {number|null} How many results to return. `null` removes the limit. | ||
*/ | ||
limit(limit: number): Query; | ||
limit(limit: number | null): Query; | ||
/** | ||
@@ -97,0 +98,0 @@ * Results offset, number of results to ignore before returning the results. |
@@ -90,7 +90,8 @@ import { Literal, NamedNode } from "rdf-js"; | ||
/** | ||
* Limit the number of results to return. Defaults to `10`. | ||
* Limit the number of results to return. Defaults to `10`, even when `.limit()` is not used. | ||
* Use `.limit(null)` to remove the default limit and get all results. | ||
* | ||
* @param {number} How many results to return. | ||
* @param {number|null} How many results to return. `null` removes the limit. | ||
*/ | ||
limit(limit: number): Query; | ||
limit(limit: number | null): Query; | ||
/** | ||
@@ -97,0 +98,0 @@ * Results offset, number of results to ignore before returning the results. |
{ | ||
"name": "@zazuko/query-rdf-data-cube", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Query (or introspect) [RDF Data Cubes](https://www.w3.org/TR/vocab-data-cube/) with a JavaScript API, without writing SPARQL.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
212359
5579