Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Dv::MySql Namespace Reference

The Dv::MySql namespace contains Dv::Mysql::Db and Dv::Mysql::Command_. More...


Classes

class  Db
 A connection to a mysql database. More...

class  Command_
 Implementation class for Sql::Command helper. More...


Functions

std::string escape (const std::string &)
 Return string that is acceptable as a field value in a mysql statement.


Detailed Description

The Dv::MySql namespace contains Dv::Mysql::Db and Dv::Mysql::Command_.

Function Documentation

std::string escape const std::string &   ) 
 

Return string that is acceptable as a field value in a mysql statement.

This will insert appropriate quotes e.g. before an apostrophe etc. It will not add quotes around the string!


dvmysql-0.4.11 [15 February, 2004]