Re: [gnome-db] Changing a field definition



On Sun, 2004-04-25 at 18:15 +0200, Murray Cumming wrote:
> > >  How could I create a suitable datamodel? Are you saying
> > > that the result of a "SELECT * FROM thetable" query is indeed a good
> > > thing to use?
> > > 
> > I guess so, once update_column is fully working, getting a GdaDataModel
> > from "SELECT * FROM table" might be much quicker for some providers than
> > calling the get_schema call, which in some cases needs to do nested
> > queries or more than one SQL query.
> 
> Actually, I didn't think that the get_schema() was even an option for me
> when I want to change the field type. Or is the data_model returned by
> get_schema() writeable?
> 
no, it's not. We were thinking on doing it writeable.

cheers




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