(ctx context.Context, collection *DatabaseCollection)
| 1733 | var options ForEachDocIDOptions |
| 1734 | |
| 1735 | func allDocIDs(ctx context.Context, collection *DatabaseCollection) (docs []AllDocsEntry, err error) { |
| 1736 | err = collection.ForEachDocID(ctx, func(doc IDRevAndSequence, channels []string) (bool, error) { |
| 1737 | docs = append(docs, AllDocsEntry{ |
| 1738 | IDRevAndSequence: doc, |
| 1739 | Channels: channels, |
| 1740 | }) |
| 1741 | return true, nil |
| 1742 | }, options) |
| 1743 | return |
| 1744 | } |
| 1745 | |
| 1746 | func TestAllDocsOnly(t *testing.T) { |
| 1747 |
no test coverage detected