List:MySQL++« Previous MessageNext Message »
From:Chris Morgan Date:January 20 2008 5:57pm
Subject:how to set a ssqls mysqlpp::sql_datetime field of NOW()?
View as plain text  
How would I set a datetime value of "NOW()"? I tried doing:

my_struct_instance.update_time = "NOW()";

but that didn't work.

It might be useful to have a mysqlpp::DateTime.NOW() static method
that would set the field value.

Chris
Thread
how to set a ssqls mysqlpp::sql_datetime field of NOW()?Chris Morgan20 Jan
  • RE: how to set a ssqls mysqlpp::sql_datetime field of NOW()?Joel Fielder21 Jan
    • Re: how to set a ssqls mysqlpp::sql_datetime field of NOW()?Warren Young21 Jan