MDL-69687 DB: Add API for deleting data based on subquery
authorsam marshall <s.marshall@open.ac.uk>
Mon, 14 Sep 2020 10:23:56 +0000 (11:23 +0100)
committersam marshall <s.marshall@open.ac.uk>
Fri, 16 Oct 2020 17:20:23 +0000 (18:20 +0100)
commitedb5cd0de4d61e14e58aa4a3d2f9785d8c2be156
treefd3c54904b57c05af217d151189723336f242e36
parent149fdcf075fdf816b9e83f59e02a5ef20fa998fe
MDL-69687 DB: Add API for deleting data based on subquery

The new API works on normal databases (by deleting data based on the
subquery) and also on MySQL (by deleting the data using a weird join
on the subquery).
lib/dml/moodle_database.php
lib/dml/mysqli_native_moodle_database.php
lib/dml/tests/dml_test.php
lib/upgrade.txt