[Feature] Object tree search has no exact / whole-word match, and always matches partition children
数据库类型和版本 / Database type and version
通用
支持信息 / Support information
v0.6.42 版本 Windows 10
当前痛点 / Current pain point
Current search is a substring match (LIKE '%kw%') across names, comments and object paths, with no exact-match option. Searching a partitioned table name (ods_x) always returns every partition child (ods_x_2022_12, …) — 47 extra rows that cannot be collapsed (the tree nests them correctly, the search results don't).
期望方案 / Proposed solution
Suggest: a "whole word / exact match" toggle (or = prefix) in the search box, plus optionally hiding relispartition = true children from search results.
优先级(是否紧急) / Priority (urgency)
🔴 P0 紧急 · 下个版本必须做 / Urgent · Must do next release
补充信息 / Additional information
很需要这个功能
/claim
✅ @imcman 已认领 #13845,开始处理吧!
Implemented optional exact object-name matching and submitted a PR for review.
Changes: Added “Exact name” to the sidebar’s “Sort and filter” menu. Matching is case-insensitive and applies to the full object name, excluding comments and aliases. For example, searching orders matches orders, but not orders_2025 or orders_backup.
Default fuzzy search remains unchanged. The selected mode is persisted, and regex mode takes precedence without overwriting that preference. Added labels for all 14 locales.
Validation: The new regression suite had 4 failures before the fix and all 5 tests pass afterward. All 144 tests across 11 related test files pass. TypeScript type checking, lint, formatting checks, and git diff --check also pass.
How to verify: Open the sidebar’s “Sort and filter” menu, select “Exact name,” and disable regex mode. Compare searches for orders and ORDERS, then switch back to smart matching to confirm fuzzy results are preserved.
Awaiting maintainer review.
最主要的是想实现,可以将分区收起来,这里有一个展开收起按钮,但是实际点击无效果。正则精准匹配也行,但是如果我还是想模糊匹配,只是不想让其将分区表也展示,可以手动将其收起来就最好了。