Accessing Data

Get Document

The following describes how to retrieve a document from a Hyperspace Collection.

document = hyperspace.get_document(collection_name, document_id)

document_id is a string. This is the identifier that you specified when the document was uploaded into the Hyperspace Collection and this is the identifier that is returned as the results of a query, as described in Accessing Query Results.


document is a json or a python dict object.

Last updated