You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Rana Bunnni <ra...@yahoo.se> on 2013/05/22 21:18:27 UTC
Re : music database
thanks guys,
How the database should look like if we use {key: value},
do you have any idea?
if i have an object like this :
{" songName ": "Titanic" , "by":"Celine Dion" , "type" : "PlayList" , "url" : "http://www.youtube.com/watch?v=xpltlIQEDuo" }
What do you think is better i must add ?
Do you have any idea ?
Best regards
/RB
Re: Re : music database
Posted by Lance Carlson <la...@gmail.com>.
This is a confusing schema.. Is this meta data for a song or a
playlist. If a song, the type should be song and name should be name
not songName as its redundant.
Sent from my iPhone
On May 22, 2013, at 3:19 PM, Rana Bunnni <ra...@yahoo.se> wrote:
> thanks guys,
>
> How the database should look like if we use {key: value},
> do you have any idea?
>
> if i have an object like this :
>
> {" songName ": "Titanic" , "by":"Celine Dion" , "type" : "PlayList" , "url" : "http://www.youtube.com/watch?v=xpltlIQEDuo" }
>
>
> What do you think is better i must add ?
>
> Do you have any idea ?
>
>
> Best regards
> /RB