Automattic / Automattic/mongo-query

Comment: mongo query parser

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
65
Forks
14
PR merge metrics
No merged PRs in 30d

Description

I just wanted to mention to you guys that I wrote a module related to what you're doing (tho with different goals): [mongo-parse](https://github.com/fresheneesz/mongo-parse). I wrote it to be able to parse a query allowing you to map one query into another (originally for the purposes of turning string _ids into ObjectIDs). Thought you guys might be interested in taking a look at it, and if you ever decide to refactor your code, it would probably simplify your internals.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the linked mongo-parse module and comparing its query-mapping approach with this repository's current internals. The issue does not identify files, tests, or a specific requested change; done would require a maintainer decision about whether a refactor is wanted and what scope it should have.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mongodb
Domain
databases
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.