Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6227

Add 'WHERE 0=1', 'WHERE false', in SQL-compatible manner

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Won't Fix
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Yii2 PHP framework database abstarction level

      Description

      Then DBAL thinks query result must be empty, it's deep inner method returns something like '0=1', 'FALSE' etc. for inclusion into WHERE condition, to make result set empty.

      Nothing of this is recognised by Cassandra - instead, error is returned.

      Please, implement 'false', 'null', constant comparison etc. as valid parts of WHERE with logic

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nsv Sergey Nagaytsev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: