incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duy Nguyen <duynguyen0...@gmail.com>
Subject mapping on non existing fields
Date Wed, 04 Nov 2009 16:26:19 GMT
Hi,

Im new to couchDB and im curious what couchDB behaves when I try to MAPPING
non-existing fields.

For example:

Document 1 has field1, field2, field3
Document 2 has field1, fied4, field5

function1 (doc) {
      emit (doc.field1, doc.field4);
}

function2 (doc) {
      emit (doc.field6, doc.field7);
}

What are the results from function 1 and function 2 ?

Thanks.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message