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

feat(SBFTree): added operators logic in SBFTree #2

Merged
merged 4 commits into from
Sep 6, 2019

Conversation

Alex-Werner
Copy link
Owner

@Alex-Werner Alex-Werner commented Sep 6, 2019

Issue being fixed or implemented

Right now, we are only able to perform strict comparison with our find method.
We need to be able to findAll, and find with specific operators.

What was done

  • $eq operator
  • $neq operator
  • $lt, lte, gt, gte operators
  • findAll() as a method that will returns all identifiers in a list.

Notes

We did not decide to just sequentially add our elements starting from our match. But it might would have been a good solution.
Let us put that in our mind as a potential improvement later on.

Reviewer notes :

Extra care needed on internode leaf, as our test only covers an order or 3 with 3 data. Improvement needed there too.

@Alex-Werner Alex-Werner merged commit 9c7b008 into master Sep 6, 2019
@Alex-Werner Alex-Werner deleted the feat/comparators branch September 6, 2019 22:06
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.

None yet

1 participant