> - Given the documentation, I was not able to figure out why the collection > function takes the $start and $skip parameters. Is one of the ignored if > the other one is given? Does skipping start at the item identified by > $start? If so, would it make sense to separate the two ways of skipping > into separate functions? No, none is ignored. If you don't wanna skip, you pass 0. If you wanna skip only, you use db:collection($name, $skip). The goal was to not introduce additional function. I think there are already enough dml and ddl functions. If you want, I can make $skip optional. But as already mentioned in a yammer message, I am thinking about replacing the $skip parameter with an optimisation for fn:subsequence(db:collection(), $start). To get rid of additional stuff. > Fixed everything below: > - improved > The reference to first node to return > => > A reference to the first node to return. > > - What does "order is implementation dependent" mean for ordered collections? > > - Error message can be improved according to Paul's style: > > Node reference $1 doesn't reference a node in collection $2 > => > $1: doesn't reference a node in collection ($2) > > - typo: > if the passed reference $start doesn't reference > a _not_ from the collection identified by $name. > > - the documentation mention zerr:ZAPI0028 if the given URI > is not a valid node reference -- https://code.launchpad.net/~davidagraf/zorba/paging_with_refs/+merge/119553 Your team Zorba Coders is subscribed to branch lp:zorba.
-- Mailing list: https://launchpad.net/~zorba-coders Post to : firstname.lastname@example.org Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp