Akonadi::Server::DbType

Akonadi::Server::DbType Namespace Reference

Enumerations

enum  Type { Unknown , Sqlite , MySQL , PostgreSQL }
 

Functions

Type type (const QSqlDatabase &db)
 
Type typeForDriverName (const QString &driverName)
 

Detailed Description

Helper methods for checking the database system we are dealing with.

Enumeration Type Documentation

◆ Type

Supported database types.

Definition at line 19 of file dbtype.h.

Function Documentation

◆ type()

DbType::Type Akonadi::Server::DbType::type ( const QSqlDatabase & db)

Returns the type of the given database object.

Definition at line 11 of file dbtype.cpp.

◆ typeForDriverName()

DbType::Type Akonadi::Server::DbType::typeForDriverName ( const QString & driverName)

Returns the type for the given driver name.

Definition at line 16 of file dbtype.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 21 2024 11:57:49 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.