~zorba-coders/zorba/bug-1189803

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/jsoniq/obj_replace_01.jq

  • Committer: Luis Rodriguez Gonzalez
  • Date: 2013-09-19 14:00:22 UTC
  • mfrom: (11612.1.19 lp_zorba)
  • Revision ID: kuraru@gmail.com-20130919140022-tw41ekb6ey16xbxi
MergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
variable $o := { "foo" : "bar" };
 
2
variable $a :=  [ 1, 2, 3];
 
3
 
 
4
replace value of json $o.foo with $a; 
 
5
 
 
6
$o