You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@empire-db.apache.org by "Jan Glaubitz (Jira)" <ji...@apache.org> on 2024/03/21 10:51:00 UTC
[jira] [Closed] (EMPIREDB-417) DBCommand Feature Request: add WHERE without overwriting
[ https://issues.apache.org/jira/browse/EMPIREDB-417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Glaubitz closed EMPIREDB-417.
---------------------------------
Resolution: Won't Fix
> DBCommand Feature Request: add WHERE without overwriting
> --------------------------------------------------------
>
> Key: EMPIREDB-417
> URL: https://issues.apache.org/jira/browse/EMPIREDB-417
> Project: Empire-DB
> Issue Type: Improvement
> Components: Core
> Affects Versions: empire-db-3.1.0
> Reporter: Jan Glaubitz
> Priority: Trivial
>
> DBCommand.where always removes existing DBCompareExpr before adding the new one.
> I know this is expected behavior, but this can be annoying when you have to add multiple constraints on the same column under coniditions.
> It would be nice to have something like DBCommand.addWhereConstraints but without the List.
> Maybe a new where method that has a boolean for overwrite or not?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)