Re: can anyone explain what is this sql query?



This seems to explain it:

http://library.gnome.org/devel/libgda-4.0/unstable/GdaDataModelQuery.html#gda-data-model-query-set-modification-query

dave

On Mon, Aug 18, 2008 at 11:46 PM, paragasu <paragasu gmail com> wrote:

[snip]
#define CONTENTS_DEL_SQL "DELETE FROM order_contents WHERE order_id =
##oid::gint AND product_ref = ##-0::gchararray AND quantity =
##-2::gint AND discount = ##-3::gdouble"
[/snip]

i take this from the official gnome-db documentation
http://library.gnome.org/devel/libgnomedb-3.0/unstable/ch04s03.html

unfortunately, i don't know what the ##oid:gint or ##-0::gchararray or
##-2::gint or ##-3::gdouble mean (inside the delete query). And i cannot
find
any documentation on it. i want to know what the -0, -2 or -3 mean ..

can anyone point me  a link for me to read more, i am more than happy if
anyone
can explain it to me.. thank you
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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