Closed lucguillemot closed 4 years ago
Having a default limit prevents accidents, on some SPARQL endpoints an unfortunate query might take minutes to execute and users of the lib or endusers usually give up and retry, which puts an unnecessary load on the endpoint. For this reason we'd rather keep it.
Is it possible to return all the observations when a limit is not defined?
Not yet but I totally agree, it should be possible. What about explicitly asking for no limit, eg. .limit(null)
?
.limit(null)
sounds good to me!
Thanks for your answer. Yes, I agree, null
sounds good, and works, except for a type error (limit should be nullable) ;-)
Thanks @vhf !
As indicated in the documentation, the number of returned observations is limited to 10 by default if
.limit()
is not set when a query is executed. Is it possible to return all the observations when a limit is not defined?