Skip to content

Commit

Permalink
Update reference_doc.xml
Browse files Browse the repository at this point in the history
changed assignment operator to an equals check as is probably intended
  • Loading branch information
rhazn committed May 30, 2015
1 parent 6363461 commit be4bad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/docbkx/reference_doc.xml
Expand Up @@ -1324,7 +1324,7 @@ public boolean contains(String docId);</programlisting>

<programlisting language="javascript">[{"_id":"_design/Sofa",
"views":{
"all": {"map": "function(doc) { if (doc.type = 'Sofa' ) emit( null, doc._id ) } "}
"all": {"map": "function(doc) { if (doc.type == 'Sofa' ) emit( null, doc._id ) } "}
}
}]</programlisting>
</section>
Expand Down

0 comments on commit be4bad1

Please sign in to comment.