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

Structure for updating multiple values of different types in a table. More...

#include <Data.hpp>

Public Attributes

std::string table
 The name of the table. More...
 
std::vector< std::tuple< std::string, Type, Value > > columns_types_values
 Vector containing the names of the columns to be updated, their data types and the new values to be set. More...
 
std::string condition
 The condition to be added to the SQL query updating the value. More...
 

Detailed Description

Structure for updating multiple values of different types in a table.

Member Data Documentation

◆ columns_types_values

std::vector<std::tuple<std::string, Type, Value> > crawlservpp::Data::UpdateFieldsMixed::columns_types_values

Vector containing the names of the columns to be updated, their data types and the new values to be set.

The old values will be overwritten.

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

◆ condition

std::string crawlservpp::Data::UpdateFieldsMixed::condition

The condition to be added to the SQL query updating the value.

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

◆ table

std::string crawlservpp::Data::UpdateFieldsMixed::table

The name of the table.

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


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