Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 JavaScript 中检索表单值并使用JSON.stringify().
JSON.stringify()
现在我想将它保存在 CouchDB 中。谁能告诉我该怎么做?
我认为是:
var json = {_id:1 friends:["friend1","friend2"]} couchdb.save(json); var friends = couchdb.open(1).friends;
希望对您有所帮助。