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

polydb:method find_one in the database #492

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

apaffenholz
Copy link
Contributor

new method to find just one entry from a collection in polydb instead of a cursor over all results.

@benlorenz
Copy link
Member

Thanks, could you add a small test?
We have a small database dump that is used for testing in the CI instead of the full database, so searching something from the smooth reflexive collection with dim <= 3 should work in the CI and locally when testing. Or just reuse one of the query dicts here:

@test length(collection_bo, query) == 7

@apaffenholz
Copy link
Contributor Author

Thanks, could you add a small test?
Something like this?

@benlorenz benlorenz merged commit b5b08dd into oscar-system:master Jul 16, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants