Component xdobry::mysql

XOTcl API for mysqltcl based on mysqltcl (
Classes Classes Hierarchy

Class MySql

parameter: user password hostname socket {interface mysql}
Interfaceclass for mysqltcl base interface

Class MySql::SqlQuerry

parameter: {qhandle 0} {frows 0}
columnNames {}
Return the name of columns in the query. Warning! This method are not supported by all interfaces
fetch {}
fetch next row and return it as list. Warning! The result is always a list. If the reusult has only one column that it is list with only one element at should be accessed with lindex $row 0
rows {}
Return the total number of rown in the result Warning! fetch does not decrease this number
seek {point}
Can set the cursor in result object. Warning! not all interfaces supports this method