[gnome-db] How to use GdaDataModelQuery

I want to add a new row using a GdaDataModelQuery, but it sends
"invalid parameter '+0'" error, but whay if the GDA object sets all
parameters before ejecute the query

model = gda_data_model_query_new (query);

row = gda_data_model_append_row (model, &error);
if (row < 0)
   g_printf ("ERROR APPENDING: %s\n", error->message);

Even if I use a GdaDataProxy, append the row and then apply all
changes, the program sends the same message.

Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (entrámite, pero para los
cuates: LIBRE)

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