Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

Native MariaDB class representing moodle database interface.

Copyright: 2013 Petr Skoda {@link http://skodak.org}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 116 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 4 files
 lib/dml/mysqli_native_moodle_database.php
 lib/dml/mysqli_native_moodle_temptables.php
 lib/dml/moodle_database.php
 lib/dml/mysqli_native_moodle_recordset.php

Defines 1 class


Class: mariadb_native_moodle_database  - X-Ref

Native MariaDB class representing moodle database interface.

get_name()   X-Ref
Returns localised database type name
Note: can be used before connect()

return: string

get_configuration_help()   X-Ref
Returns localised database configuration help.
Note: can be used before connect()

return: string

get_dbvendor()   X-Ref
Returns the database vendor.
Note: 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
Note: can be used before connect()

return: string db type mysqli, pgsql, oci, mssql, sqlsrv

has_breaking_change_quoted_defaults()   X-Ref
No description

has_breaking_change_sqlmode()   X-Ref
No description

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

MyISAM is NOT supported!

return: bool

is_fulltext_search_supported()   X-Ref
Does this mariadb instance support fulltext indexes?

return: bool