Re: [gnome-db] libgda cursor support

On Thu, 2007-09-27 at 13:49 +0200, Vivien Malerba wrote:
> > But then it tries to get the values by using
> > gda_data_model_iter_set_at_row(). But it displays the same value for
> > each row (the value for the last row). This is the output for my test
> > table:
> The reason is that gda_data_model_iter_set_at_row() returned FALSE

Ah, sorry for not seeing that.

> meaning it could not set the iter at the requested row, which is why
> it always returns the same value. The reason it returns FALSE is that
> it's not implemented (specifically the i_iter_at_row virtual method is
> not implemented). Of course it an iterator can move forward and
> backward, there could be a default implementation to move it to a
> desired row...

I guess this should be implemented with FETCH ABSOLUTE.
Does that seem appropriate?

murrayc murrayc com

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