QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Functions
qgsogrhelperfunctions.cpp File Reference
#include "qgsogrhelperfunctions.h"
#include "qgslogger.h"
#include "qgsapplication.h"
#include "qgsauthmanager.h"
#include <QRegExp>
Include dependency graph for qgsogrhelperfunctions.cpp:

Go to the source code of this file.

Functions

QString createDatabaseURI (const QString &connectionType, const QString &host, const QString &database, QString port, const QString &configId, QString username, QString password, bool expandAuthConfig)
 CreateDatabaseURI.
 
QString createProtocolURI (const QString &type, const QString &url, const QString &configId, const QString &username, const QString &password, bool expandAuthConfig)
 CreateProtocolURI.
 

Function Documentation

◆ createDatabaseURI()

QString createDatabaseURI ( const QString &  connectionType,
const QString &  host,
const QString &  database,
QString  port,
const QString &  configId,
QString  username,
QString  password,
bool  expandAuthConfig = false 
)

CreateDatabaseURI.

Create database uri from connection parameters

Note
not available in python bindings

Definition at line 25 of file qgsogrhelperfunctions.cpp.

◆ createProtocolURI()

QString createProtocolURI ( const QString &  type,
const QString &  url,
const QString &  configId,
const QString &  username,
const QString &  password,
bool  expandAuthConfig = false 
)

CreateProtocolURI.

Create protocol uri from connection parameters

Note
not available in python bindings

Definition at line 221 of file qgsogrhelperfunctions.cpp.