Re: [Cppcms-users] dbixx and time()
Brought to you by:
artyom-beilis
From: augustin <aug...@ov...> - 2010-10-14 13:01:28
|
On Thursday 14 October 2010 08:25:41 pm Artyom wrote: > > > > What's the proper way to use Unix timestamps in dbixx queries? > > Depending on how do you save it in the DB, > if you save it as a number, then just operate over time_t as numeric value. > I save it as an integer. The problem is that the code won't compile: /usr/local/include/dbixx/dbixx.h:148: error: call of overloaded ‘bind(long int&, bool)’ is ambiguous. Augustin. -- Friends: http://www.reuniting.info/ http://activistsolutions.org/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |