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

getEventByRevision for mongodb and tingodb #159

Closed

Conversation

robinfehr
Copy link

haven't updated the readme due to not having it implemented for all db's yet.

@adrai
Copy link
Contributor

adrai commented Jun 4, 2020

alternative:

es.getEventStream(query, revMin, revMax, (err, stream) => {
  stream.events[0]
})

@susannaroden
Copy link
Member

Hey everyone 👋

New maintainer here… we, i.e. @thenativeweb, have taken over the responsibility to maintain this module from @adrai, and I would like to give a little update on this PR:

As Adriano already pointed out this can easily be done using the getEventStream function, so introducing a new function for a pretty specific special case is probably not the way to go. Besides, this PR is unfortunately incomplete and lacks any update for the documentation, hence I am going to close this one.

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.

4 participants