Re: [gnome-db] New Libgda V3.99.4
- From: "Daniel Espinosa" <esodan gmail com>
- To: "Vivien Malerba" <vmalerba gmail com>
- Cc: gnome-db list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] New Libgda V3.99.4
- Date: Thu, 18 Sep 2008 18:02:39 -0500
But why don't create a function like:
inline const GValue
gda_data_model_get_value_at_column (GdaDataModel *model, const gchar *column, GError **error)
{
return gda_data_model_get_value_at (model, gda_data_model_get_column_index(model, "mycol"), row, error);
}
I think this is usefull, will help developers to create readable code.
2008/9/18 Vivien Malerba
<vmalerba gmail com>
2008/9/17 Massimo Cora'
<maxcvs email it> I removed it because I don't want to encourage people using column names as they are not reliable (depends a lot on the database's native API): I prefer people to use column numbers. Also the replacement is fairly easy:
gda_data_model_get_value_at (model, gda_data_model_get_column_index(model, "mycol"), row, &error);
Cheers,
Vivien
_______________________________________________
gnome-db-list mailing list
gnome-db-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-db-list
--
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]