libdballe 9.6
Classes | Enumerations | Functions
sql.h File Reference

Common infrastructure for talking with SQL databases. More...

#include <dballe/core/error.h>
#include <dballe/fwd.h>
#include <dballe/sql/fwd.h>
#include <string>
#include <memory>

Go to the source code of this file.

Classes

class  dballe::sql::Connection
 
class  dballe::sql::Transaction
 A RAII transaction interface for SQL transactions. More...
 

Macros

#define TRACE(...)   do { } while (0)
 Define this to enable referential integrity.
 
#define IFTRACE   if (0)
 Prefix a block of code to compile only if trace is enabled.
 

Enumerations

enum class  dballe::sql::ServerType { MYSQL , SQLITE , ORACLE , POSTGRES }
 Supported SQL servers.
 

Functions

const char * dballe::sql::format_server_type (ServerType type)
 Return a string description for a ServerType value.
 

Detailed Description

Common infrastructure for talking with SQL databases.

Macro Definition Documentation

◆ TRACE

#define TRACE (   ...)    do { } while (0)

Define this to enable referential integrity.

Trace macros internally used for debugging Ouput a trace message