~zorba-coders/zorba/f-nosqldb-module

« back to all changes in this revision

Viewing changes to test/Queries/oracle-nosql-db/put.xq

  • Committer: Zorba Build Bot
  • Author(s): chillery+launchpad at lambda
  • Date: 2013-02-09 07:32:37 UTC
  • mfrom: (22.1.1 oracle-nosql-db)
  • Revision ID: chillery+buildbot@lambda.nu-20130209073237-cdd4i8x796w8grdy
Modified tests to use distinct major keys, so they may be run in parallel. Approved: Cezar Andrei, Chris Hillery

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
  variable $db := nosql:connect( $opt);
11
11
  
12
12
  variable $key1 := {
13
 
        "major": ["Mkey2", "Mkey21"], 
 
13
        "major": ["putkey2", "putkey21"], 
14
14
        "minor":["mk2"]
15
15
      };
16
16
  
17
 
  variable $ts := nosql:put-text($db, $key1, "Value for Mkey2/Mkey21-mk2" );
 
17
  variable $ts := nosql:put-text($db, $key1, "Value for putkey2/putkey21-mk2" );
18
18
 
19
19
  (: nosql:disconnect($db); :)
20
20