On 25 February 2010 12:23, Piotr Pokora <[email protected]> wrote: > Hi! > > I am using Libgda 4.0.7 and GdaSql structures directly to build > statement. Is there any support to generate unique and safe table alias > for GdaSqlSelectTarget? Setting table_name and expression is not an
You can set GdaSqlSelectTarget::as with the string you want and the SQL will be generated with "FROM ... AS ...". About the uniqueness of that string, nothing is being done by Libgda, but simply using "t%d" where %d is the order of the GdaSqlSelectTarget in the GdaSqlSelectFrom::targets list should be Ok. Vivien _______________________________________________ gnome-db-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-db-list
