Search moodle.org's
Developer Documentation

See Release Notes

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

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

(no description)

File Size: 422 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ADODB_pdo_mysql:: (14 methods):
  _init()
  OffsetDate()
  metaIndexes()
  Concat()
  ServerInfo()
  MetaTables()
  SetAutoCommit()
  SetTransactionMode()
  MetaColumns()
  SelectDB()
  SelectLimit()
  SQLDate()
  GenID()
  createSequence()


Class: ADODB_pdo_mysql  - X-Ref

PDO MySQL driver

This file is part of ADOdb, a Database Abstraction Layer library for PHP.

_init($parentDriver)   X-Ref
No description

OffsetDate($dayFraction, $date=false)   X-Ref
No description

metaIndexes($table, $primary = false, $owner = false)   X-Ref
Get a list of indexes on the specified table.

param: string $table The name of the table to get indexes for.
param: bool $primary (Optional) Whether or not to include the primary key.
param: bool $owner (Optional) Unused.
return: array|bool An array of the indexes, or false if the query to get the indexes failed.

Concat()   X-Ref
No description

ServerInfo()   X-Ref
No description

MetaTables($ttype=false, $showSchema=false, $mask=false)   X-Ref
No description

SetAutoCommit($auto_commit)   X-Ref

param: bool $auto_commit
return: void

SetTransactionMode($transaction_mode)   X-Ref
No description

MetaColumns($table, $normalize=true)   X-Ref
No description

SelectDB($dbName)   X-Ref
No description

SelectLimit($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs=0)   X-Ref
No description

SQLDate($fmt, $col=false)   X-Ref
No description

GenID($seqname='adodbseq',$startID=1)   X-Ref
No description

createSequence($seqname='adodbseq',$startID=1)   X-Ref
No description