Till Westmann | 9ae8d0a | 2014-04-30 16:29:19 -0700 | [diff] [blame^] | 1 | drop dataverse test if exists; |
2 | create dataverse test; | ||||
3 | use dataverse test; | ||||
4 | |||||
5 | create type TestType as { | ||||
6 | "id" : string, | ||||
7 | "idx" : string, | ||||
8 | "no-idx" : string | ||||
9 | }; | ||||
10 | |||||
11 | create dataset TestSet(TestType) primary key "id"; | ||||
12 | create index TestSetIndex on TestSet(idx); | ||||
13 | |||||
14 | delete $x from dataset TestSet where $x.idx = "one" or $x.idx = "two"; |