QGIS API Documentation
3.28.0-Firenze (ed3ad0430f)
src
core
providers
qgsprovidersqlquerybuilder.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsprovidersqlquerybuilder.h
3
begin : August 2022
4
copyright : (C) 2022 by Nyall Dawson
5
email : nyall dot dawson at gmail dot com
6
***************************************************************************/
7
8
/***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
#ifndef QGSPROVIDERSQLQUERYBUILDER_H
17
#define QGSPROVIDERSQLQUERYBUILDER_H
18
19
#include <QString>
20
21
#include "qgis_core.h"
22
#include "
qgis_sip.h
"
23
33
class
CORE_EXPORT
QgsProviderSqlQueryBuilder
34
{
35
36
public
:
37
38
virtual
~QgsProviderSqlQueryBuilder
();
39
45
virtual
QString createLimitQueryForTable(
const
QString &schema,
const
QString &name,
int
limit = 10 )
const
;
46
50
virtual
QString quoteIdentifier(
const
QString &identifier )
const
;
51
};
52
53
#endif
// QGSPROVIDERSQLQUERYBUILDER_H
QgsProviderSqlQueryBuilder
Provides an interface for provider-specific creation of SQL queries.
Definition:
qgsprovidersqlquerybuilder.h:34
QgsProviderSqlQueryBuilder::~QgsProviderSqlQueryBuilder
virtual ~QgsProviderSqlQueryBuilder()
qgis_sip.h
Generated on Sat Oct 22 2022 16:10:47 for QGIS API Documentation by
1.9.4