Re: [gnome-db] How to update data?



On Fri, 2005-01-14 at 19:15 -0600, Daniel Espinosa wrote:
> I'm trying to update data in a data model, what is it
> the procedure?
> 
> Now I know:
> 
> gda_data_model_begin_update(model);
> 
> (some code...)
> 
> gda_data_model_end_update(model);
> 
> 
> But, in the documentation seds you can get a value
> from a GdaRow, may be obteined with
> gda_data_model_get_row(), but you can't modify the
> value.
> 
> The How I can update a Value to Update the DataModel?
> Do I can get a Value with
> gda_data_model_get_value_at() and update the given
> value and this will update the value stored in the
> DataModel or not?
> 
no, gda_data_model_update_row is what you need, although some providers
don't implement it yet
-- 
Rodrigo Moya <rodrigo gnome-db org>




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