Absolutely agree with this. The alternative is to use built-in PHP functions to do your extra-moodle DB work. e.g. PDO (https://www.php.net/manual/en/book.pdo.php) but this all sounds like extra work for not much reason.
Re: How to get last insert Id while using custom Execute('Insert Query')
by Mark Sharp -
Number of replies: 0