Re: [gnome-db] convert to gdasqlbuilder



On 21 July 2010 18:06, Andrea Zagli <azagli libero it> wrote:
> is there a way to convert an sql string or a gdasqlstatement to a
> gdasqlbuilder?

The short answer is no. The longer answer is that you can import SQL
expressions in a GdaSqlBuilder using
gda_sql_builder_import_expression(), and you can obtain an SQL
expression from a GdaSqlStatement (which itself can be obtained by
parsing some SQL) and analysing the part you want, but you'll have to
move around a memory tree, see the doc about the GdaSqlStatement
structure.

Regards,

Vivien


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