Re: [gnome-db] GdaCommand.

Vivien Malerba <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
2009/6/23 Piotr Pokora <[email protected]>

> Vivien Malerba writes:
>
> Hi!
>
> > You'll have to create a GdaStatement from the "SELECT * FROM table"
> > (which is what was done in V3 BTW). You can do this using a parser
> > object, or by creating the object directly (in 4.2 there will be an API
> > to build statement without using any SQL).
>
> Any API preview?


Most of it is already coded, see
http://library.gnome.org/devel/libgda/4.1/GdaSqlBuilder.html


>
> In Midgard we use query builder class which generates SQLs.
>
> http://www.midgard-project.org/api-docs/midgard/core/vinland/midgard-query-builder.html
>
> It's GObject oriented, but I am curious if we could benefit from it.


From what I saw, the Midgard's API is higher level than Libgda's one, and
there is obvious no reason it could not use Libga's one. This API can still
be modified if needed (untill version 4.2, so if you have any request, tell
me).

Vivien

_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.