Re: [gnome-db] gda_connection_update_meta_store() is slow





2008/12/16 Murray Cumming <murrayc murrayc com>
On Tue, 2008-12-16 at 16:52 +0100, Vivien Malerba wrote:

>         I don't have a sense yet of all the things the meta store can
>         do, but I
>         would at least like some convenience functions to get the
>         common obvious
>         things such as
>         - the list of tables
>         - the list of fields for a specific table
>
> Getting information out of the meta store can already be done using:
> * gda_meta_store_extract () for very specific needs (one needs to know
> the internal database structure and use SQL)
> * gda_connection_get_meta_store_data() which is more formal
> * a GdaMetaStruct object which is very easy to use and works very well
> for tables and views
>
> Where the API is still rough is regarding updating the meta store's
> data with the database structure (or populating it the first time),
> where one at the moment can only use
> gda_connection_update_meta_store().

Yes, that's what I mean. I'd like it to be easier to update the meta
store with just that information. And I'm saying that some convenience
functions might take care of the common stuff.

Ok, I'll try to propose something. Do you want it for V4?



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