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

Johannes Schmid <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <1254387899.5248.16.camel@Obelix>
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

_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkrEcLgACgkQAvZZn2XJ+bOD5QCfSubvy9k9wDcSIZuqb2599e0L
phQAoJMwXpaZYyEzhq++Q0/c/toeMV5v
=sb4g
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.