Re: [gnome-db] convert to gdasqlbuilder
- From: Vivien Malerba <vmalerba gmail com>
- To: Andrea Zagli <azagli libero it>
- Cc: gnome-db list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] convert to gdasqlbuilder
- Date: Wed, 21 Jul 2010 20:52:54 +0200
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]