Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ecton opened this issue Feb 11, 2022 · 0 comments · Fixed by #221
Closed

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

ecton opened this issue Feb 11, 2022 · 0 comments · Fixed by #221
Labels
collections Issues impacting collections or views enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@ecton
Copy link
Member

ecton commented Feb 11, 2022

It's sometimes helpful to be able to do operations using sets of Headers, where the contents are irrelevant. It seems natural to extend the Collection::list() builder with another method that returns a Vec<Header> instead of Vec<OwnedDocument>.

Edit 2022-03-02: This can be added in a similar fashion as connection::List::count() and schema::List::count() (which may get renamed and moved into the connection module by the time this issue is handled, so make sure to find the type that is returned from SerializedCollection::list.)

@ecton ecton added enhancement New feature or request collections Issues impacting collections or views labels Feb 11, 2022
@ecton ecton added this to the v1.0 milestone Feb 11, 2022
@ecton ecton moved this to Todo in Beta Roadmap Feb 11, 2022
@ecton ecton added the good first issue Good for newcomers label Mar 2, 2022
vbmade2000 added a commit to vbmade2000/bonsaidb that referenced this issue Mar 5, 2022
vbmade2000 added a commit to vbmade2000/bonsaidb that referenced this issue Mar 20, 2022
Repository owner moved this from Todo to Done in Beta Roadmap Mar 21, 2022
@ecton ecton modified the milestones: v1.0, v0.4.0 Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
collections Issues impacting collections or views enhancement New feature or request good first issue Good for newcomers
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant