Lines Matching refs:docID
45 var docID, rev string
48 docID, rev, e = adb.CreateDoc(context.Background(), map[string]string{"name": "Robert"})
56 _, err = db.PutAttachment(context.Background(), docID, rev, att)
63 docID := ctx.TestDBName()
66 _, err := db.PutAttachment(context.Background(), docID, "", att)
73 var docID string
76 docID, _, e = adb.CreateDoc(context.Background(), map[string]string{"name": "Robert"})
84 … _, err := db.PutAttachment(context.Background(), docID, "5-20bd3c7d7d6b81390c6679d8bae8795b", att)
91 docID := "_design/" + ctx.TestDBName()
93 "_id": docID,
98 rev, err = adb.Put(context.Background(), docID, doc)
106 _, err = db.PutAttachment(context.Background(), docID, rev, att)
113 docID := "_design/" + ctx.TestDBName()
116 _, err := db.PutAttachment(context.Background(), docID, "", att)