Re: [gnome-db] Libgda Firebird provider patch



On Sat, 2004-07-10 at 13:32 +0000, Jeronimo Albi wrote:
> Rodrigo Moya wrote:
> 
> >On Mon, 2004-07-05 at 15:11 +0000, Jeronimo Albi wrote:
> >  
> >
> >>+static GdaFieldAttributes *
> >>+gda_firebird_recordset_describe_column (GdaDataModel *model, 
> >>+					gint col)
> >>+{
> >>+	return NULL;
> >>+}
> >>+
> >>    
> >>
> >this function is mandatory, so you should really implement it.
> >  
> >
> I don't know what should i describe here. I mean, #col
> is an index of a column inside a table or inside a SELECT
> statement ?
> 
it is the position of the column in the data model, whether it is a
simple table or a SELECT statement.

> I saw GDA_CONNECTION_SCHEMA_FIELDS, so i think that
> a field of a SELECT statement should be described, but i'm
> not shure.
> 
yes, you need to implement the SCHEMA_FIELDS thing to allow clients to
get the description of a the fields in a given table.

cheers




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