libUTL++
Database

Database abstraction layer. More...

Classes

class  utl::DBconnection
 Database connection. More...
 
class  utl::DBfield
 Field in a DBresult tuple. More...
 
class  utl::DBresult
 Database command result. More...
 
class  utl::DBresultIterator
 Query result iterator. More...
 

Enumerations

enum  utl::db_field_t {
  utl::dbf_string, utl::dbf_bool, utl::dbf_int32, utl::dbf_int64,
  utl::dbf_double, utl::dbf_decimal, utl::dbf_dateTime, utl::dbf_undefined
}
 Database field type. More...
 
enum  utl::db_result_status_t { utl::dbr_ok, utl::dbr_nonfatal_error, utl::dbr_fatal_error, utl::dbr_undefined }
 Database command status. More...
 

Detailed Description

Database abstraction layer.

Enumeration Type Documentation

◆ db_field_t

Database field type.

Enumerator
dbf_string 

string

dbf_bool 

boolean.

dbf_int32 

signed 32-bit integer.

dbf_int64 

signed 64-bit integer.

dbf_double 

64-bit float.

dbf_decimal 

arbitrary-precision decimal.

dbf_dateTime 

date and time.

dbf_undefined 

undefined type.

Definition at line 17 of file DBfield.h.

◆ db_result_status_t

Database command status.

Enumerator
dbr_ok 

Command executed successfully.

dbr_nonfatal_error 

Non-fatal error during command execution.

dbr_fatal_error 

Fatal error during command execution.

dbr_undefined 

Undefined status.

Definition at line 19 of file DBresult.h.