3 messages in com.mysql.lists.plusplusUsing MySQL Functions
FromSent OnAttachments
Craig Snyder28 Sep 2005 10:52 
Warren Young29 Sep 2005 03:28 
Ovidiu Bivolaru29 Sep 2005 04:50 
Subject:Using MySQL Functions
From:Craig Snyder (cra@mail-tail.com)
Date:09/28/2005 10:52:17 AM
List:com.mysql.lists.plusplus

I would like to use some of the built-in functions available with MySQL such as NOW(). How do I call them when using MySQL++?

This is an example of what I am trying to do. Unfortunately it fails, what am I doing wrong?

User row(0, Name, Address, Phone, NOW() );

Query query = con->query();

query.insert(row);

query.execute();

Craig Snyder

Chief Software Architect

<http://www.inclue.com>

inclue! ...the internet on your terms.