Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Native Aurora MySQL class representing moodle database interface.

Copyright: 2020 Lafayette College ITS
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 99 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 4 files
 lib/dml/mysqli_native_moodle_recordset.php
 lib/dml/moodle_database.php
 lib/dml/mysqli_native_moodle_database.php
 lib/dml/mysqli_native_moodle_temptables.php

Defines 1 class

auroramysql_native_moodle_database:: (5 methods):
  get_name()
  get_configuration_help()
  get_dbvendor()
  get_dbtype()
  transactions_supported()


Class: auroramysql_native_moodle_database  - X-Ref

Native Aurora MySQL class representing moodle database interface.

get_name()   X-Ref
Returns localised database type name.

Returns localised database type name. Can be used before connect().
return: string

get_configuration_help()   X-Ref
Returns localised database configuration help.

Returns localised database configuration help. Can be used before connect().
return: string

get_dbvendor()   X-Ref
Returns the database vendor.

Returns the database vendor. Can be used before connect().
return: string The db vendor name, usually the same as db family name.

get_dbtype()   X-Ref
Returns more specific database driver type

Returns more specific database driver type. Can be used before connect().
return: string db type mysqli, pgsql, oci, mssql, sqlsrv

transactions_supported()   X-Ref
It is time to require transactions everywhere.

MyISAM is NOT supported!

return: bool