[ Index ]
 

Code source de CMS made simple 1.0.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/adodb_lite/adodbSQL_drivers/mysql/ -> mysql_datadict.inc (sommaire)

(pas de description)

Poids: 428 lignes (12 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

ADODB2_mysql:: (10 méthodes):
  MetaType()
  ActualType()
  _CreateSuffix()
  _IndexSQL()
  MetaTables()
  _MetaTables()
  MetaColumns()
  _findschema()
  MetaPrimaryKeys()
  MetaIndexes()


Classe: ADODB2_mysql  - X-Ref

MetaType($t,$len=-1,$fieldobj=false)   X-Ref
Pas de description

ActualType($meta)   X-Ref
Pas de description

_CreateSuffix($fname,$ftype,$fnotnull,$fdefault,$fautoinc,$fconstraint,$funsigned)   X-Ref
Pas de description

_IndexSQL($idxname, $tabname, $flds, $idxoptions)   X-Ref
Pas de description

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

param: ttype can either be 'VIEW' or 'TABLE' or false.
param: showSchema returns the schema/user with the table name, eg. USER.TABLE
param: mask  is the input mask - only supported by oci8 and postgresql
return: array of tables for current database.

_MetaTables($ttype=false,$showSchema=false,$mask=false)   X-Ref
Pas de description

MetaColumns($table)   X-Ref
List columns in a database as an array of ADOFieldObjects.
See top of file for definition of object.

param: table    table name to query
param: upper    uppercase table name (required by some databases)
return: array of ADOFieldObjects for current table.

_findschema(&$table,&$schema)   X-Ref
Pas de description

MetaPrimaryKeys($table, $owner=false)   X-Ref

returns: an array with the primary key columns in it.

MetaIndexes($table, $primary = FALSE, $owner=false)   X-Ref
List indexes on a table as an array.

param: table  table name to query
param: primary true to only show primary keys. Not actually used for most databases
return: array of indexes on current table. Each element represents an index, and is itself an associative array.



Généré le : Tue Apr 3 18:50:37 2007 par Balluche grâce à PHPXref 0.7