1

I have a CouchDb table for cookies with ids and access tokens. I want to create a new cookie for a given token, only if that token doesn't already exist in our table. How could I do that in CouchDb with cradle for nodejs?

4

1 回答 1

1

我首先阅读了 cookie,如果它在那里,我会合并,否则我会创建一个新的。

于 2012-03-03T05:56:59.663 回答