[gnome-db] gda_sql_builder_select_order_by()
- From: Murray Cumming <murrayc murrayc com>
- To: gnome-db-list <gnome-db-list gnome org>
- Subject: [gnome-db] gda_sql_builder_select_order_by()
- Date: Tue, 27 Apr 2010 17:38:45 +0200
I'm trying to use gda_sql_builder_select_order_by()
http://library.gnome.org/devel/libgda/unstable/GdaSqlBuilder.html#gda-sql-builder-select-order-by
to do something like
SELECT sometable.somefield, someothertable.somefield FROM sometable
... (some JOIN that I can't be bothered to think of)
ORDER BY sometable.somefield
How can I get the id of "sometable.somefield" to give to
gda_sql_builder_select_order_by()?
gda_sql_builder_select_add_field() lets's me specify the table and the
field,
http://library.gnome.org/devel/libgda/unstable/GdaSqlBuilder.html#gda-sql-builder-select-add-field
but that doesn't return the generated ID.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]