Re: [gnome-db] INSERT statement with binary data
- From: Vivien Malerba <vmalerba gmail com>
- To: Johannes Schmid <jhs jsschmid de>
- Cc: gnome-db-list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] INSERT statement with binary data
- Date: Thu, 22 Jan 2009 13:34:21 +0100
2009/1/22 Johannes Schmid
<jhs jsschmid de>
Hi!
OK, I finally got this working but I have a question on the data types.
If I pass something like
(##contact_id::int, ##first_name::string, ...)"
but contact_id has a value type GdaNumeric that libgda complains that
the data types do not match. Same when I passt first_name::varchar.
Shouldn't libgda handle such conversions itself?
Yes, right now Libgda is very conservative about data types matching, and automatic conversions should be implemented when possible. Anyway, this is post V4.
Btw, I still think that those gda-easy methods are general useful also
in the C++ bindings.
Yes, I've added this to my TODO list.
Cheers,
Vivien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]