Re: [gnome-db] GDate, GdaTimestamp && sqlite



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Vivien Malerba wrote:
> 
> 2 solutions:
> * if you can, use the timestamp type instead of date in the table
> declaration: create table foo (analyse_time timestamp);
> * specifically request that the GType for the "analyse_time" column must
> be GDA_TYPE_TIMESTAMP when running the SELECT statement, using
> gda_connection_statement_execute_select_full()
> 

thanks, the second solution worked very well

regards,
Massimo


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpDp8IACgkQcfVTgMRILk0vTgCeNL3qm4DnZ1b5kWH3aabTR3sx
1GUAni9dJXE6X3O7OumHS0rf9/ETbjq1
=5LXh
-----END PGP SIGNATURE-----


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