Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::db Namespace Reference

Namespaces

namespace  impl
 

Classes

class  DriverInstance
 Database-driven instance class. More...
 
class  DriverManager
 Database driver instance manager. More...
 
class  PreparedStatement
 Prepared statement object. More...
 
class  ResultSet
 Query result set. More...
 

Enumerations

enum class  DatabaseType { MY_SQL , MARIA , SQLITE , POSTGRES }
 Database type enumeration. More...
 
enum class  MetadataType {
  TEXT , BOOLEAN , CHAR , SHORT ,
  INTEGER , LONG , FLOAT , DOUBLE ,
  DATE , TIME , DATE_TIME , UNKNOWN
}
 

Functions

std::map< std::string, std::string > tokenize (const char *string) noexcept
 Perform simple tokenization on a string.
 

Enumeration Type Documentation

◆ DatabaseType

enum class sese::db::DatabaseType
strong

Database type enumeration.

Enumerator
MY_SQL 
MARIA 
SQLITE 
POSTGRES 

◆ MetadataType

enum class sese::db::MetadataType
strong
Enumerator
TEXT 
BOOLEAN 
CHAR 
SHORT 
INTEGER 
LONG 
FLOAT 
DOUBLE 
DATE 
TIME 
DATE_TIME 
UNKNOWN 

Function Documentation

◆ tokenize()

std::map< std::string, std::string > sese::db::tokenize ( const char * string)
noexcept

Perform simple tokenization on a string.

Parameters
stringTarget string
Returns
Tokenization result

References sese::text::AbstractStringBuffer::split().

Referenced by sese::db::DriverManager::getInstance().