{
"language": "javascript",
"views": {
"nosea": {
"map": "function(doc){ if( doc.code && [9,10,11,19,20,21,25,29].indexOf(doc.code) > -1 ){ emit( doc._id, {code:doc.code,prefecture:doc.prefecture,capital:doc.capital,lat:doc.lat,lng:doc.lng} ); } }"
}
},
"lists": {
<<<<<<< HEAD
"nosea": "function( head, row ){ start( { 'headers': { 'content-type': 'text/html; charset=utf-8' } } ); send( '
海なし県一覧
' );}"
},
"shows": {
"nosea": "(function( doc, req ){ if( doc ){ start( {'headers':{'content-type':'text/html; charset=utf-8'}} ); var str = '' + doc.prefecture + '
' + doc.capital + '
緯度: ' + doc.lat + '
経度: ' + doc.lng + '
'; return str; }else{ return 'empty'; }})"
=======
"nosea": "function( head, row ){ start( { 'headers': { 'content-type': 'text/html; charset=utf-8' } } ); send( '海なし県一覧
' );}"
},
"shows": {
"nosea": "(function( doc, req ){ if( doc ){ start( {'headers':{'content-type':'text/html; charset=utf-8'}} ); var str = '' + doc.prefecture + '
' + doc.capital + '
緯度: ' + doc.lat + '
経度: ' + doc.lng + '
'; return str; }else{ return 'empty'; }})"
>>>>>>> e3d399a68e526f5be03a2ec8d7abf7a4ffa6e4ec
}
}