~zorba-coders/zorba/trunk

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/index/match_vrange_06.xqlib

  • Committer: Zorba Build Bot
  • Author(s): markos_za at yahoo
  • Date: 2013-05-09 19:20:13 UTC
  • mfrom: (10900.1.204 markos-scratch)
  • Revision ID: chillery+buildbot@lambda.nu-20130509192013-zaglz3pb60qbhetd
exact match for flwor exprs Approved: Markos Zaharioudakis

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
module namespace db28 = "http://28.io/collections";
 
3
 
 
4
import module namespace dml = "http://www.zorba-xquery.com/modules/store/static/collections/dml";
 
5
 
 
6
declare namespace an = "http://www.zorba-xquery.com/annotations";
 
7
 
 
8
declare %an:mutable %an:unordered %an:mutable-nodes collection db28:foo;
 
9
 
 
10
declare %an:manual %an:value-range index db28:foo__id_
 
11
on nodes dml:collection(xs:QName("db28:foo"))
 
12
by .("_id") as xs:string;
 
13
 
 
14
declare %an:manual %an:value-range index db28:street
 
15
on nodes dml:collection(xs:QName("db28:foo"))
 
16
by .("properties")("STREET") as xs:string;