Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-18084

SQLITE and REGEXP

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Affects Version/s: 4.7.2
    • Fix Version/s: None
    • Component/s: SQL Support
    • Labels:
      None
    • Environment:

      kubuntu 10.10 (64 bits)

      Description

      By default sqlite does not have an implementation for the statement "REGEXP".
      So, the following sql order is failing:
      "SELECT * FROM mytable WHERE myattribute REGEXP 'A[0-9]*';"

      It could be very interesting to add an implementation for "REGEXP" base on QRegExp.
      To do that, you have to call sqlite3_create_function in the SQLITE driver.

      Regards.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            mabrand Mark Brand
            Reporter:
            miraks St├ęphane MANKOWSKI
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes