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

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -