va_end (ap);
}
+/**
+ * gdaex_sql_builder_field:
+ * @sqlb:
+ * @table_name:
+ * @field_name:
+ * @field_alias:
+ * @gval:
+ *
+ */
+void
+gdaex_sql_builder_field (GdaExSqlBuilder *sqlb, const gchar *table_name, const gchar *field_name, const gchar *field_alias, GValue *gval)
+{
+ GdaExSqlBuilderTable *t;
+
+ t = gdaex_sql_builder_get_table (sqlb, table_name, NULL, TRUE);
+ gdaex_sql_builder_get_field (sqlb, t, field_name, field_alias, gval, TRUE);
+}
+
/**
* gdaex_sql_builder_fields:
* @sqlb:
GdaSqlSelectJoinType join_type,
...);
+void gdaex_sql_builder_field (GdaExSqlBuilder *sqlb, const gchar *table_name, const gchar *field_name, const gchar *field_alias, GValue *gval);
void gdaex_sql_builder_fields (GdaExSqlBuilder *sqlb, ...);
GdaSqlBuilderId gdaex_sql_builder_where (GdaExSqlBuilder *sqln, GdaSqlOperatorType op,
"pippo", "name", "the_name", NULL,
NULL);
+ gdaex_sql_builder_field (sqlb, "pippo", "income", NULL, NULL);
+
gdaex_sql_builder_join (sqlb, GDA_SQL_SELECT_JOIN_INNER,
"pippo", "id", "",
GDA_SQL_OPERATOR_TYPE_EQ,