Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14679 META: DB layer 2.0
  3. MDL-23888

new sql_like() should accept parameters and treat case/accent sensitiveness properly

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • None
    • Database SQL/XMLDB
    • None
    • MOODLE_20_STABLE

    Description

      1/ at present we do not have case sensitive like support - mostly MySQL is to be blamed
      2/ sql_ilike() does not support parameters - we need fieldname and parameter
      3/ it would be nice to have support for escape characters
      4/ we need more unit tests

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              Nobody Nobody
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: