QueryExample_2.cpp File Reference
#include "DataAccessExamples.h"
#include <iostream>
#include <exception>

Go to the source code of this file.

Functions

std::unique_ptr< te::da::DataSourceGetPostGISConnection ()
 
void QueryExample ()
 Quering a dataset. More...
 

Function Documentation

std::unique_ptr<te::da::DataSource> GetPostGISConnection ( )

Definition at line 13 of file PostGISExample.cpp.

Referenced by QueryExample().

void QueryExample ( )

Quering a dataset.

Definition at line 12 of file QueryExample_2.cpp.

References ds, GetPostGISConnection(), te::mnt::Max(), te::mnt::Min(), PrintDataSet(), and te::sa::Sum().

Referenced by main().