dump


Description:

public void dump (void* to_stream)

Dumps a textual representation of the this to the to_stream stream

The following environment variables can affect the resulting output: <itemizedlist> <listitem><para> GDA_DATA_MODEL_DUMP_ROW_NUMBERS: if set, the first column of the output will contain row numbers</para></listitem> < listitem><para>GDA_DATA_MODEL_DUMP_ATTRIBUTES: if set, also dump the data model's columns' types and value's attributes</para ></listitem> <listitem><para>GDA_DATA_MODEL_DUMP_TITLE: if set, also dump the data model's title</para>< /listitem> <listitem><para>GDA_DATA_MODEL_NULL_AS_EMPTY: if set, replace the 'NULL' string with an empty string for NULL values </para></listitem> <listitem><para>GDA_DATA_MODEL_DUMP_TRUNCATE: if set to a numeric value, truncates the output to the width specified by the value. If the value is -1 then the actual terminal size (if it can be determined) is used</para ></listitem> </itemizedlist>

Parameters:

this

a DataModel.

to_stream

where to dump the data model




2022 vala-language.org