export


Description:

public bool export (string table, int fd) throws Error

Writes a file containing the table data as tab separated ASCII.

The format is as follows:

row1 : colname1 <tab> colname2 <tab> .... colnameN <cr> <lf> row2 : coltype1 <tab> coltype2 <tab> .... coltypeN <cr> <lf> row3 : tablename <tab> key1 <tab> key2 <tab> ... keyM <cr> <lf>

Followed by the data, starting at row 1 with one row per line

row4 : data <tab> data <tab> data <tab> ... data <cr> <lf>

Parameters:

this

a libmsidatabase

table

a table name

fd

a file descriptor

Returns:

true on success