[gnome-db] Defined column size.



Hello,

Question. In V3 there was the quick and convenient function: "gda_column_get_defined_size" to get the width of a returned column from the database. This no longer exists. I believe the solution should be something along the lines of:

const GValue *value;
value = gda_column_get_attribute (column, GDA_ATTRIBUTE_DEFINED_SIZE)

This GDA_ATTRIBUTE_DEFINED_SIZE (or similar name)  does not exist. What is the best/quickest way to get this value? If possible a small code sample, which often makes things easier to understand.

Also, are these GDA_..... values linked to the providers or is that not ready yet.

Thank you,
Bas.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]