I created an additionnal table within Moodle's database. All my default Moodle tables being with mdl_[tablename].
My new tables all being with ext_[tablename].
I'm trying to insert a new record in my table ext_policy, but whenever I'm using $DB->insert_record() or $DB->insert_record_raw I get the following error:
Table 'moodle.mdl_ext_policy' doesn't exist
Is there a way to specify the table prefix in the $DB object queries ? I'm trying not to use raw SQL queries in my code.
Thank you for your time and help !