back to db 

wxDbColInf

generated from ../src/mod_db/dbcolinf.cpp

Used with the getColumns for obtaining all retrievable information about a column's definition.

wxDbColInf contains information of all columns of one or more tables. That's why you need to use an index before retrieving the properties of a column.

   
   var cols = db.getColumns("user_table");
   if (    cols != null
        && cols.count > 0 )
   {
      // [0] is necessary to retrieve the name of the first column!!!
      var colname = cols[0].colName; 
   }
   
  

Constants

Properties

Name Type Description
bufferLength read only Integer
catalog read only String
colName read only String
columnLength read only Integer
dbDataType read only Integer
decimalDigits read only Integer
fkCol read only Integer
fkTableName read only String
nullable read only Integer
numPrecRadix read only Integer
pkCol read only Integer
pkTableName read only String
remarks read only String
schema read only String
sqlDataType read only Integer
tableName read only String
typeName read only String



Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.