#include <BasicQueries.h>
|
static TEDATAACCESSEXPORT std::unique_ptr< te::da::Select > | GetQuery (bool distinct, const std::vector< std::string > &vecColumns, const std::string &tableName, const std::vector< std::string > &vecWhereColumns, const std::vector< std::unique_ptr< te::dt::AbstractData >> &vecWhereValues) |
| Helper function to create a query from the given parameters. More...
|
|
static TEDATAACCESSEXPORT std::unique_ptr< te::da::Select > | GetQuery (bool distinct, const std::vector< std::string > &vecColumns, const std::string &tableName) |
| Helper function to create a query from the given parameters. More...
|
|
Definition at line 46 of file BasicQueries.h.
◆ BasicQueries()
te::da::BasicQueries::BasicQueries |
( |
| ) |
|
|
privatedelete |
◆ ~BasicQueries()
te::da::BasicQueries::~BasicQueries |
( |
| ) |
|
|
privatedelete |
◆ GetQuery() [1/2]
static TEDATAACCESSEXPORT std::unique_ptr<te::da::Select> te::da::BasicQueries::GetQuery |
( |
bool |
distinct, |
|
|
const std::vector< std::string > & |
vecColumns, |
|
|
const std::string & |
tableName, |
|
|
const std::vector< std::string > & |
vecWhereColumns, |
|
|
const std::vector< std::unique_ptr< te::dt::AbstractData >> & |
vecWhereValues |
|
) |
| |
|
static |
Helper function to create a query from the given parameters.
- Parameters
-
distinct | TRUE if distinct clause must be added. FALSE otherwise |
vecColumns | A vector containing the columns to be added to the query |
tableName | The name of the table to be queried |
vecWhereColumns | A vector containing all the columns in the where clause |
vecWhereValues | A vector containing all the values in the where clause |
- Returns
- An query resulting from the given parameters
◆ GetQuery() [2/2]
static TEDATAACCESSEXPORT std::unique_ptr<te::da::Select> te::da::BasicQueries::GetQuery |
( |
bool |
distinct, |
|
|
const std::vector< std::string > & |
vecColumns, |
|
|
const std::string & |
tableName |
|
) |
| |
|
static |
Helper function to create a query from the given parameters.
- Parameters
-
distinct | TRUE if distinct clause must be added. FALSE otherwise |
vecColumns | A vector containing the columns to be added to the query |
tableName | The name of the table to be queried |
- Returns
- An query resulting from the given parameters
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/dataaccess/utils/BasicQueries.h