Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

SQLite driver

Copyright: 2000-2013 John Lim
Copyright: 2014 Damien Regad, Mark Newnham and the ADOdb community
License: BSD-3-Clause
License: LGPL-2.1-or-later
File Size: 513 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 classes

ADODB_sqlite:: (26 methods):
  ServerInfo()
  BeginTrans()
  CommitTrans()
  RollbackTrans()
  MetaColumns()
  _init()
  _insertID()
  _affectedrows()
  ErrorMsg()
  ErrorNo()
  SQLDate()
  _createFunctions()
  _connect()
  _pconnect()
  _query()
  SelectLimit()
  GenID()
  CreateSequence()
  DropSequence()
  _close()
  MetaIndexes()
  charMax()
  textMax()
  month()
  day()
  year()

Name:: (0 methods):

ADORecordset_sqlite:: (7 methods):
  __construct()
  FetchField()
  _initrs()
  Fields()
  _seek()
  _fetch()
  _close()


Class: ADODB_sqlite  - X-Ref

ServerInfo()   X-Ref
No description

BeginTrans()   X-Ref
No description

CommitTrans($ok=true)   X-Ref
No description

RollbackTrans()   X-Ref
No description

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

_init($parentDriver)   X-Ref
No description

_insertID($table = '', $column = '')   X-Ref
No description

_affectedrows()   X-Ref
No description

ErrorMsg()   X-Ref
No description

ErrorNo()   X-Ref
No description

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

_createFunctions()   X-Ref
No description

_connect($argHostname, $argUsername, $argPassword, $argDatabasename)   X-Ref
No description

_pconnect($argHostname, $argUsername, $argPassword, $argDatabasename)   X-Ref
No description

_query($sql,$inputarr=false)   X-Ref
No description

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

GenID($seq='adodbseq',$start=1)   X-Ref
No description

CreateSequence($seqname='adodbseq',$start=1)   X-Ref
No description

DropSequence($seqname = 'adodbseq')   X-Ref
No description

_close()   X-Ref
No description

MetaIndexes($table, $primary = FALSE, $owner = false)   X-Ref
No description

charMax()   X-Ref
Returns the maximum size of a MetaType C field. Because of the
database design, sqlite places no limits on the size of data inserted

return: int

textMax()   X-Ref
Returns the maximum size of a MetaType X field. Because of the
database design, sqlite places no limits on the size of data inserted

return: int

month($fld)   X-Ref
No description

day($fld)   X-Ref
No description

year($fld)   X-Ref
No description

Class: Name  - X-Ref

Class: ADORecordset_sqlite  - X-Ref

__construct($queryID,$mode=false)   X-Ref
No description

FetchField($fieldOffset = -1)   X-Ref
No description

_initrs()   X-Ref
No description

Fields($colname)   X-Ref
No description

_seek($row)   X-Ref
No description

_fetch($ignore_fields=false)   X-Ref
No description

_close()   X-Ref
No description