Re: [gnome-db] API Break Request for gda_insert_row_into_table



Ok work done (before the next year!!! :-)

Hope the:

gda_repetitive_statement_append_list_values

is Ok, if not feel free to rename it.

Cheers.

And Happy new Year for All!!!


2008/12/30 Vivien Malerba <vmalerba gmail com>


2008/12/30 Daniel Espinosa <esodan gmail com>

Thanks for your help.

I have a question:

I'm implementing most of the gda-easy functions, but found that:

GdaRepetitiveStatement *gda_prepare_insert_row (const gchar *table, GError ** error, ...)

GdaRepetitiveStatement *gda_prepare_update_row (const gchar *table, GError ** error, ...)

GdaRepetitiveStatement *gda_prepare_delete_row (const gchar *table, GError ** error, ...)

gboolean *gda_append_values_list (GdaRepetiveStatement *rstm, GError **error, ...)

Could be:

GdaRepetitiveStatement *gda_repetitive_statement_prepare_insert_row (const gchar *table, GError ** error, ...)

GdaRepetitiveStatement *gda_repetitive_statement_prepare_update_row (const gchar *table, GError ** error, ...)

GdaRepetitiveStatement *gda_repetitive_statement_prepare_delete_row (const gchar *table, GError ** error, ...)

gboolean *gda_repetitive_statement_append_values_list (GdaRepetiveStatement *rstm, GError **error, ...)

What do you think?

I would prefer that they remain gda_prepare_*() because they are in fact an application of the GdaRepetitiveStatement, which can be used in other contexts. However, the gda_append_values_list()'s name could benefit from having a better (=easier to understand) name.

Vivien




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

Attachment: PATCH-GdaRepetitiveStatement-gda_gtype_to_string-GdaEasy.diff.tar.bz2
Description: BZip2 compressed data



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