droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
NativeDatabase Namespace Reference

Typedefs

using Row = pqxx::row
using Connection = pqxx::connection
using BrokenConnectionException = pqxx::broken_connection
using Transaction = pqxx::work
using ParameterList = pqxx::params
using Result = pqxx::result

Detailed Description

For now these are just some type definitions to abstract away the pqxx native types. Later this could be expanded to an interface to allow for multiple different database libraries

Typedef Documentation

◆ BrokenConnectionException

using NativeDatabase::BrokenConnectionException = pqxx::broken_connection

◆ Connection

using NativeDatabase::Connection = pqxx::connection

◆ ParameterList

using NativeDatabase::ParameterList = pqxx::params

◆ Result

using NativeDatabase::Result = pqxx::result

◆ Row

using NativeDatabase::Row = pqxx::row

◆ Transaction

using NativeDatabase::Transaction = pqxx::work