DATACOUCH-133 - Fixed typos in readme.md.

Fixed the mixup of attributes - the view backing the findByLastname method should emit lastname not firstname.

Original pull request: #37.
This commit is contained in:
Klaus Unger
2015-04-02 17:33:33 +02:00
committed by Oliver Gierke
parent 181b68798b
commit b60782c3c1

View File

@@ -92,8 +92,8 @@ This is an example view for the `findByLastname` method:
```javascript
function (doc, meta) {
if(doc._class == "com.example.entity.User" && doc.firstname) {
emit(doc.firstname, null);
if(doc._class == "com.example.entity.User" && doc.lastname) {
emit(doc.lastname, null);
}
}
```