Skip to content

Commit

Permalink
[processing] Allow saving outputs directly to SAP HANA databases
Browse files Browse the repository at this point in the history
Given that SAP supports the connection api, this should just work
  • Loading branch information
nyalldawson committed Feb 1, 2021
1 parent 29a816a commit 8405ca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -472,6 +472,7 @@ void QgsProcessingLayerOutputDestinationWidget::saveToDatabase()
QgsNewDatabaseTableNameWidget *widget = new QgsNewDatabaseTableNameWidget( mBrowserModel, QStringList() << QStringLiteral( "postgres" )
<< QStringLiteral( "mssql" )
<< QStringLiteral( "ogr" )
<< QStringLiteral( "hana" )
<< QStringLiteral( "spatialite" ), this );
widget->setPanelTitle( tr( "Save “%1” to Database Table" ).arg( mParameter->description() ) );
widget->setAcceptButtonVisible( true );
Expand Down
1 change: 1 addition & 0 deletions src/providers/hana/qgshanadataitems.h
Expand Up @@ -107,6 +107,7 @@ class QgsHanaDataItemProvider : public QgsDataItemProvider
{
public:
QString name() override { return QStringLiteral( "SAP HANA" ); }
QString dataProviderKey() const override { return QStringLiteral( "hana" ); }
int capabilities() const override { return QgsDataProvider::Database; }
QgsDataItem *createDataItem( const QString &pathIn, QgsDataItem *parentItem ) override;
};
Expand Down

0 comments on commit 8405ca7

Please sign in to comment.