5

I am using document_store from pyravendb to use session to load an entity as a data frame. I would like to know if it is possible to load a collection and get it as a data frame?

from pyravendb.store import document_store
document_store = document_store.DocumentStore("http://live-test.ravendb.net", "DemoUser-08fef053-7143-4fc7-9860-bc415838799d")
document_store.initialize()
with document_store.open_session() as session:
    employee = session.load(["employees/8-A"])
    display(employee)
Niki
  • 51
  • 1

1 Answers1

0

You can get the whole collection by using a query,

For example "from Orders" query will return you all documents from Orders collection.

Examples:

garay
  • 636
  • 3
  • 5