sqldb.h File Reference

#include <string>
#include <sstream>
#include <iostream>
#include <vector>
#include <map>
#include <stdexcept>
#include <iterator>
#include <dvutil/debug.h>
#include <dvutil/date.h>
#include <dvutil/props.h>
#include <dvutil/shared_ptr.h>
#include <dvmysql/vector_string_input_iterator.h>
#include <dvmysql/table.h>
Include dependency graph for sqldb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Dv::Sql::Db
 An connection to an SQL database. More...
class  Dv::Sql::Command
 A Command represents a SQL command. More...
class  Dv::Sql::Command::iterator
 A logical pointer (input iterator) inside the query result of a Dv::Sql::Command. More...
class  Dv::Sql::CommandImpl
 Implementation class for Sql::Db::Command. More...

Namespaces

namespace  Dv
 

Namespace shared by all locally produced packages.


namespace  Dv::Sql
 

Namespace for dbms-independent classes.


Functions

Dv::Propsoperator<< (Dv::Props &, const Dv::Sql::Command::iterator &)
 Update props to reflect query result row represented by iterator.

Function Documentation

Dv::Props& operator<< ( Dv::Props ,
const Dv::Sql::Command::iterator  
)

Update props to reflect query result row represented by iterator.

Updat props such that props[fieldname] = result for each fieldname of the command associated with the iterator.


dvmysql-1.0.3 [17 November, 2010]