Content-Length: 1797 | pFad | http://github.com/lowcoder-org/lowcoder/pull/1805.patch

thub.com From 2bfc45f47e3673f7e4170f722bb14e622de7e5f9 Mon Sep 17 00:00:00 2001 From: FARAN Date: Tue, 24 Jun 2025 21:15:51 +0500 Subject: [PATCH] [Feat]: #1641 add bulk-update filters --- .../src/comps/queries/sqlQuery/SQLQuery.tsx | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/client/packages/lowcoder/src/comps/queries/sqlQuery/SQLQuery.tsx b/client/packages/lowcoder/src/comps/queries/sqlQuery/SQLQuery.tsx index b451cd0e1d..aba2673cc4 100644 --- a/client/packages/lowcoder/src/comps/queries/sqlQuery/SQLQuery.tsx +++ b/client/packages/lowcoder/src/comps/queries/sqlQuery/SQLQuery.tsx @@ -128,8 +128,13 @@ const CommandMap = { .setPropertyViewFn((children) => <>{children.records.getPropertyView()}) .build(), BULK_UPDATE: new MultiCompBuilder( - { table: TableNameComp, primaryKey: valueComp(""), records: RecordsComp }, - (props) => props.records + { + table: TableNameComp, + primaryKey: valueComp(""), + records: RecordsComp, + filterBy: FilterComp, + }, + (props) => ({ ...props.records, ...props.filterBy }) ) .setPropertyViewFn((children) => ( <> @@ -140,8 +145,15 @@ const CommandMap = { placement={"bottom"} label={trans("sqlQuery.primaryKeyColumn")} /> - {children.records.getPropertyView()} + + {trans("sqlQuery.filterRule")} + + {children.filterBy.propertyView({ table: children.table.value, placement: "bottom" })} + + + + {children.records.getPropertyView()} )) .build(),








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lowcoder-org/lowcoder/pull/1805.patch

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy