Methods

get_most_recent_docs

Get the documents sorted by date in reverse chrono order. Returns a cursor to them.

get_feed_docs

Get the documents for a particular feed sorted by date in reverse chrono order. Returns a cursor to them.

get_collections

Get the collections by name sorted by date in reverse chrono order. Returns a cursor to them.

get_collection_pages

Get the pages belonging to a particular collection. NOTE: We get the list of page ids from the collection collected_page_ids value. Then we find all documents corresponding to those ids.

Return an (collection_name, ArrayRef of pages);