QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
qgsprovidersqlquerybuilder.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsprovidersqlquerybuilder.h
3begin : August 2022
4copyright : (C) 2022 by Nyall Dawson
5email : 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
34{
35
36 public:
37
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
Provides an interface for provider-specific creation of SQL queries.
virtual ~QgsProviderSqlQueryBuilder()