Re: [gnome-db] parameterized queries
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Neil Zanella <nzanella gmail com>
- Cc: GDA <gnome-db-list gnome org>
- Subject: Re: [gnome-db] parameterized queries
- Date: Tue, 09 Nov 2004 02:09:23 +0100
On Mon, 2004-11-08 at 12:37 -0700, Neil Zanella wrote:
> Hello,
>
> I need to build 'printf style' or similar parameterized queries. My
> understanding is that
> I can do this with:
>
> gint gda_connection_execute_non_query
> (GdaConnection *cnc,
> GdaCommand *cmd,
> GdaParameterList *params);
>
> using the GdaParameterList (instead of setting it to null, maybe I can
> place a list
> of intst, gchar *, etc... or whatever).
>
> Can someone please be so kind to give me an example? (is this really what those
> parameters are for or am I imagining?).
>
you just need to create the GdaParameterList, but, the problem is the
providers don't deal with the params argument :( So, it's kind of
useless.
I hope we have that working for 1.4
--
Rodrigo Moya <rodrigo gnome-db org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]