Re: [gnome-db] Regarding get_data_handler provider API
- From: "Vivien Malerba" <vmalerba gmail com>
- To: "Sumit Kumar Jain" <sumitskj_20 yahoo com>
- Cc: gnome-db-list gnome org
- Subject: Re: [gnome-db] Regarding get_data_handler provider API
- Date: Thu, 18 Oct 2007 09:36:22 +0200
On 10/18/07, Sumit Kumar Jain <sumitskj_20 yahoo com> wrote:
>
> Hi,
> I have some query regarding get_data_handler API to be implemented by the
> provider. Is the GdaDataHandler returned supposed to convert string to
> native database formats and vice versa.
>
> Suppose that i have a database that assumes time to be in the format like
> #9:53:01 AM#.
>
> Now if i use the API
> gda_server_provider_value_to_sql_string() which internally
> calls get_data_handler API of the provider, is this API supposed to convert
> the GdaTime to this format and return.
That's correct! This is used by the GdaQuery object when it needs to
render an SQL statement.
Regards,
Vivien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]