feat(database): search and pagination on result query (#1432)

Adds a search bar to query result grids (match case / words / regex, previous/next occurrence, Filter rows) and a pager for console results (first/previous/next/last, page size). Later pages re-run the read-only query with a skip, which every driver reads past without decoding, so only one page crosses IPC; Last counts rows with the statement wrapped so a trailing line comment can't swallow the closing parenthesis.

Closes #1431

Co-authored-by: kidp2h <[email protected]>
Цей коміт міститься в:
Nguyen Thinh authored and GitHub committed 2026-11-05 12:54:15 +08:00
1 джерело 7856fabbfe
коміт 75c4ca0be8
22 files changed
+973 -97

No files matched your search

+2
Переглянути файл
@@ -225,6 +225,8 @@ const ICONS = {
refresh: "general/refresh",
settings: "general/settings",
help: "openidea/general/help",
"page-first": "openidea/general/pageFirst",
"page-last": "openidea/general/pageLast",
sliders: "openidea/general/sliders",
"graphql-variables": "openidea/general/graphqlVariables",
layout: "general/layout",
+4
Переглянути файл
@@ -0,0 +1,4 @@
<!-- OpenIDEA: First Page (bar and chevron left) -->
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4.5 4.5V11.5M11 11.5L7.5 8L11 4.5" stroke="#6C707E" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

Після

Ширина:  |  Висота:  |  Розмір: 267 B

+4
Переглянути файл
@@ -0,0 +1,4 @@
<!-- OpenIDEA: Last Page (chevron right and bar) -->
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.5 4.5V11.5M5 11.5L8.5 8L5 4.5" stroke="#6C707E" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

Після

Ширина:  |  Висота:  |  Розмір: 266 B