Skip to content

feat(TAP-12892): support Mongo filter query in JS mock sampling - #639

Merged
weiliang110100 merged 2 commits into
developfrom
feat-TAP-12892-mongo-query-condition
Oct 10, 2026
Merged

weiliang110100 merged 2 commits into
developfrom
feat-TAP-12892-mongo-query-condition

Conversation

@weiliang110100

Copy link
Copy Markdown
Contributor

Show a filter-query UI for Mongo sources when run_raw_command is available, with JSON editor, placeholders, and i18n strings for EN/ZH/TW.

weiliang110100 and others added 2 commits September 29, 2026 16:08
Show a filter-query UI for Mongo sources when run_raw_command is available,
with JSON editor, placeholders, and i18n strings for EN/ZH/TW.

Co-authored-by: Cursor <cursoragent@cursor.com>
The MongoDB connector now only reads filter/sort/limit from an explicit
{"$find":{...}} wrapper and treats everything else as a plain filter, so the
old example would query fields named filter/sort/limit. Show a plain filter
example, the $find form, and that at most 100 rows are returned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@weiliang110100
weiliang110100 requested a review from feynmx October 10, 2026 06:40
@weiliang110100
weiliang110100 merged commit ae48faa into develop Oct 10, 2026
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.

1 participant