Hi there
I tried out the QueryCollection example from github and discovered there is a bug in line 47 ``` for $doc in collection() ``` causes [FODC0002] No default collection available.
I think it should be ``` for $doc in collection("Collection")
``` then the error is gone.
Hi Morris,
thanks for your feedback.
I tried out the QueryCollection example from github and discovered there is a bug in line 47
for $doc in collection()
The original example shouldn’t cause any problems, because the non-argument function call will reference the database that has been created in line 28 (and the code seems in fact to work on my system). Did you modify the code a little? What BaseX version have you been using for testing?
Christian
basex-talk@mailman.uni-konstanz.de