Moodle™ is a registered trademark.
Privacy | Cookies | Contact
Confirm the following test passes on all 4 supported DBs (Postgres, MySQL, SQL Server, Oracle):
$ vendor/bin/phpunit --filter test_sql_like_escape
In my case, it was square brackets [ ] - there may be others we want to escape too
Worth checking other DML drivers to make sure they are all correct