couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Metson <simonmet...@googlemail.com>
Subject Re: Defining my document model when the source is entity-relationship
Date Thu, 09 Jul 2009 20:57:32 GMT
> {
>  "_id":"Scott",
>  "type":"contact",
>  "name":"My Friend Scott",
>  "phones":{"home":"(650) 555 - 2200","mobile":"(650) 555 - 2201"}
> }
>
> It seams to me more intuitive syntax.

You could have more than one mobile/home number...
Cheers
Simon

Mime
View raw message