khonsulabs / bonsaidb

A developer-friendly document database that grows with you, written in Rust
https://bonsaidb.io/
Apache License 2.0
998 stars 37 forks source link

Change list_available_schemas to return a schema summary #278

Closed ecton closed 1 year ago

ecton commented 1 year ago

Currently, writing a generic data browser for BonsaiDb isn't possible due to needing to have a Schema to understand what collections and views belong to it. We should change StorageConnection::list_available_schemas to return a list of schema summaries, which include the list of collections and their views.