khonsulabs / bonsaidb

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

Add ability to list a collection's Headers without the document contents #221

Closed vbmade2000 closed 2 years ago

vbmade2000 commented 2 years ago

Closes #193.

vbmade2000 commented 2 years ago

Still WIP. Confused about what to implement next.

ecton commented 2 years ago

Ah, after running the CI, I see this error:

no method named `headers` found for struct `connection::List` in the current scope

This is telling you that you need to add a method named headers to connection::List. As per the linked issue, this should be implemented similarly to connection::List::count

vbmade2000 commented 2 years ago

I introduced a typo in commit message by mistake. It should be Write test for list_headers