~zorba-coders/zorba/bug1024580

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/jsoniq/arr_insert_02.xq

  • Committer: Rodolfo Ochoa
  • Date: 2012-09-08 16:36:08 UTC
  • mfrom: (10937.1.51 zorba)
  • Revision ID: rodolfo.ochoa@gmail.com-20120908163608-mz55ayoa8lznh7i3
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
variable $a1 := [ 1, 4, 5 ];
4
4
variable $a2 := [ 1, 2, 5 ];
5
5
 
6
 
insert json 2 to 3 into $a1 at position 2;
7
 
insert json 3 to 4 into $a2 at position 3;
 
6
insert json [ 2 to 3 ] into $a1 at position 2;
 
7
insert json [ 3 to 4 ] into $a2 at position 3;
8
8
 
9
9
$a1, $a2
10
10