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

story(storage): support mongodb for reading events #61

Open
3 tasks
Zaba505 opened this issue Dec 12, 2022 · 1 comment · May be fixed by #65
Open
3 tasks

story(storage): support mongodb for reading events #61

Zaba505 opened this issue Dec 12, 2022 · 1 comment · May be fixed by #65
Assignees
Labels
enhancement New feature or request mongodb MongoDB storage event storage related story
Milestone

Comments

@Zaba505
Copy link
Member

Zaba505 commented Dec 12, 2022

Description

As a end-user, I want to be able to record and retrieve my events from MongoDB.

Acceptance Criteria

  • Should be able to get a single event by event id
  • Should be able to retrieve up until a timestamp
  • Should return a slice of events, an any cursor, and finally an error

Related Issues

No response

@Zaba505 Zaba505 added enhancement New feature or request story storage event storage related mongodb MongoDB labels Dec 12, 2022
@Zaba505 Zaba505 added this to the Prototype milestone Dec 12, 2022
@Zaba505 Zaba505 added this to evrys Dec 12, 2022
@Zaba505 Zaba505 moved this to Refinement in evrys Dec 12, 2022
@Zaba505 Zaba505 moved this from Refinement to Todo in evrys Dec 12, 2022
@erictg erictg linked a pull request Dec 28, 2022 that will close this issue
@erictg
Copy link
Member

erictg commented Dec 29, 2022

I was thinking more about this, should it really be a cursor or some pagination method? @Zaba505

With mongo the cursor should just be contained into the query. I know other dbs can handle this differently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mongodb MongoDB storage event storage related story
Projects
No open projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants