[gnome-db] GdaQuery setup question



I'm trying to create a new GdaQuery

I'm doing the following:

1) create a new query and set it's type  to INSERT
2) create a new target and set to query
3) create a new condition and set its type to LEAF_EQUAL
4) I need to create a new GdaQueryField to set the operator

I don't find any function to create a new QueryField using just the
Target and field's name.

How can I do it?

Could be added a function like:

GdaQueryField*
gda_target_new_field_by_name (GdaQueryTarget *target, const gchar* name);

To add a new operator I need a new QueryField, but how can I create it
using a simple o just a few steps?



-- 
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]