[gnome-db] Some questions/ideas about the GdaSqlBuilder API



Hi!

The API is not really straight-forward to use especially because the
method names don't give a clear indication of what happens. Murray made
some suggestions to me:

gda_sql_builder_ident => gda_sql_builder_add_id
(Murray complained that "ident" would remind him of "identity" instead
of "identifier")
gda_sql_builder_expr => gda_sql_builder_add_expr
gda_sql_builder_cond = gda_sql_builder_add_cond
gda_sql_builder_param = gda_sql_builder_add_param

IMHO that would make it clearer that something is added to the statement
(or at least to the pool of things the SqlBuilder knows about).

Regards,
Johannes

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



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