Re: [gnome-db] GdaValue question



There was a method added - gda_connection_escape_string()

looking at it again, exporting gda_{provider}_value_to_sql_string() and adding it in there would seem more sensible.

Regards
Alan

Neil Zanella wrote:

Hello,

When types are stringified, some types are such that they need quotes
in queries,
and some are such that they don't (for instance strings vs. integers).
Hence I wonder,
is there a gda_quote_stringify which while stringifying also applies
quotation marks
where necessary. Almost anyone using gdalib would need such a method anyways
so why not refactor everyone's code into the gdalib library itself by
providing this
simple feature as a utility function. Is it already there somewhere? I
can guarantee
almost everyone would use such feature if provided by libgda.

Thanks,

Neil
_______________________________________________
gnome-db-list mailing list
gnome-db-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-db-list




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