sql - Creating object like entries with levelup DB, relating keys -
i'm no aficionado of databases , i'm new level i've dealt sql. question seems simple, while can put , key value pairs in level, how create record more attributes?
so have key="president" , value="nixon", how can give value attributes? ie:
"nixon":[{"approvalrating": 10, "suitcolor":"blue", "firstname":"richard"}]
how can interact level results this?
thanks
the value can object instead of "nixon" pass in
{ lastname: 'nixon', firstname:'richard' approvalrating: 10, suitcolor:'blue' }
Comments
Post a Comment