Uploaded image for project: 'Empire-DB'
  1. Empire-DB
  2. EMPIREDB-417

DBCommand Feature Request: add WHERE without overwriting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • empire-db-3.1.0
    • None
    • Core
    • None

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            derjan Jan Glaubitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: