crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
crawlservpp::Data::GetColumn Struct Reference

Structure for retrieving the values in a table column. More...

#include <Data.hpp>

Public Attributes

std::string table
 The name of the table. More...
 
std::string column
 The name of the column. More...
 
Type type {_unknown}
 The data type of the column. More...
 
std::string condition
 Optional condition to be added to the SQL query retrieving the values of the column. More...
 
std::vector< std::string > order
 Optional order to be applied to the SQL query retrieving the values of the column. More...
 
std::vector< Valuevalues
 Vector containing the retrieved values. More...
 

Detailed Description

Structure for retrieving the values in a table column.

Member Data Documentation

◆ column

std::string crawlservpp::Data::GetColumn::column

◆ condition

std::string crawlservpp::Data::GetColumn::condition

Optional condition to be added to the SQL query retrieving the values of the column.

Referenced by crawlservpp::Main::Database::getCustomData().

◆ order

std::vector<std::string> crawlservpp::Data::GetColumn::order

Optional order to be applied to the SQL query retrieving the values of the column.

The values will be ordered by the given columns, in the same order as they are present in the vector.

Referenced by crawlservpp::Main::Database::getCustomData().

◆ table

std::string crawlservpp::Data::GetColumn::table

◆ type

Type crawlservpp::Data::GetColumn::type {_unknown}

◆ values

std::vector<Value> crawlservpp::Data::GetColumn::values

The documentation for this struct was generated from the following file: