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

Support listIndexes command #278

Closed
Tracked by #78
zhouyuansheng0618 opened this issue Jan 19, 2022 · 6 comments · Fixed by #1960
Closed
Tracked by #78

Support listIndexes command #278

zhouyuansheng0618 opened this issue Jan 19, 2022 · 6 comments · Fixed by #1960
Assignees
Labels
code/feature Some user-visible feature is not implemented yet
Milestone

Comments

@zhouyuansheng0618
Copy link

zhouyuansheng0618 commented Jan 19, 2022

Implement listIndexes command stub that returns valid empty results in the same format as MongoDB.

Ignore cursor and comment fields.

https://www.mongodb.com/docs/manual/reference/command/listIndexes/

Definition of Done

  • all handlers updated;
  • integration/compatibility tests added/updated (results for compat/target might be different):
    • collection doesn't exist;
    • existing collection;
  • spot refactorings done;
  • user documentation updated.
@zhouyuansheng0618 zhouyuansheng0618 added the code/feature Some user-visible feature is not implemented yet label Jan 19, 2022
@AlekSi
Copy link
Member

AlekSi commented Jan 19, 2022

Yes, indexes are not supported yet. That's tracked as #78.

@AlekSi AlekSi changed the title Install and use Support listIndexes command Jan 19, 2022
@zhouyuansheng0618
Copy link
Author

Will it be updated later
My English is poor, thank you for understanding

@AlekSi
Copy link
Member

AlekSi commented Jan 19, 2022

Yes, we plan to add support for indexes and other features needed by typical applications that use pymongo and other MongoDB drivers.
No worries :)

@zhouyuansheng0618
Copy link
Author

Currently switching from mongodb to FerretDB
The problem can't be solved
When can you release a version

@AlekSi
Copy link
Member

AlekSi commented Jan 19, 2022

It might be a bit early to switch to FerretDB right now. We plan to add support for indexes in several months. Our roadmap is there: https://github.com/orgs/FerretDB/projects/2/views/1

@zhouyuansheng0618
Copy link
Author

Good thank you

@AlekSi AlekSi added the not ready Issues that are not ready to be worked on; PRs that should skip CI label Jun 17, 2022
@AlekSi AlekSi removed the not ready Issues that are not ready to be worked on; PRs that should skip CI label Feb 13, 2023
rumyantseva added a commit that referenced this issue Feb 14, 2023
@AlekSi AlekSi added this to the v0.9.1 milestone Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code/feature Some user-visible feature is not implemented yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants