libpqxx
The C++ client library for PostgreSQL
Deprecated List
Class pqxx::array_parser
Use pqxx::array instead.
Class pqxx::basic_fieldstream< CHAR, TRAITS >
To convert a field's value string to some other type, e.g. to an int, use the field's as<...>() member function. To read a field efficiently just as a string, use its c_str() or its as<std::string_vview>().
Class pqxx::basic_ilostream< CHAR, TRAITS >
Access large objects directly using the blob class.
Class pqxx::basic_lostream< CHAR, TRAITS >
Access large objects directly using the blob class.
Class pqxx::basic_olostream< CHAR, TRAITS >
Access large objects directly using the blob class.
Class pqxx::byte_char_traits
Because of these complications, and because standard strings aren't really suited to binary data, you should use pqxx::bytes or pqxx::bytes_view instead. This type will be removed.
Member pqxx::connection::get_errorhandlers () const
Return pointers to the active errorhandlers.
Member pqxx::connection::set_variable (std::string_view var, std::string_view value, sl loc=sl::current()) &
To set a session variable, use set_session_var. To set a transaction-local variable, execute an SQL SET command.
Class pqxx::errorhandler
Base class for obsolete error-handler callbacks.
Member pqxx::fieldstream
Read a field using field::as<...>() or field::c_str().
Member pqxx::from_query
Use transaction_base::stream instead of stream_from.
Class pqxx::from_query_t
Use stream_from::query() instead.
Member pqxx::from_table
Use transaction_base::stream instead of stream_from.
Class pqxx::from_table_t
Use stream_from::table() instead.
Class pqxx::largeobject
Use the blob class instead.
Class pqxx::largeobject_streambuf< CHAR, TRAITS >
Access large objects directly using the blob class.
Class pqxx::largeobjectaccess
Use the blob class instead.
Member pqxx::operator<< (std::basic_ostream< CHAR > &s, field const &value)
The C++ streams library is not great to work with. In particular, error handling is easy to get wrong. So you're probably better off doing this by hand.
Class pqxx::quiet_errorhandler
Use a notice handler instead.
Class pqxx::stream_from
Use transaction_base::stream.
Member pqxx::stream_from::stream_from (transaction_base &, from_query_t, std::string_view query)
Use factory function query instead.
Member pqxx::stream_from::stream_from (transaction_base &, std::string_view table, Iter columns_begin, Iter columns_end)
Use factories table or raw_table instead.
Member pqxx::stream_from::stream_from (transaction_base &tx, std::string_view table, Columns const &columns)
Use factories table or raw_table instead.
Member pqxx::stream_from::stream_from (transaction_base &tx, std::string_view table)
Use factories table or raw_table instead.
Member pqxx::stream_from::stream_from (transaction_base &tx, from_table_t, std::string_view table, Columns const &columns)
Use factory function query instead.
Member pqxx::stream_from::stream_from (transaction_base &, from_table_t, std::string_view table, Iter columns_begin, Iter columns_end)
Use factories table or raw_table instead.
Member pqxx::stream_from::stream_from (transaction_base &, from_table_t, std::string_view table)
Use factories table or raw_table instead.
Member pqxx::strip_t
Use std::remove_cvref instead.
Member pqxx::transaction_base::set_variable (std::string_view var, std::string_view value)
To set a transaction-local variable, execute an SQL SET command. To set a session variable, use the connection's set_session_var function.
Member PQXX_ABI
Use pqxx::abi_version instead.
Member PQXX_VERSION
Use pqxx::version instead.
Member PQXX_VERSION_MAJOR
Use pqxx::version_major instead.
Member PQXX_VERSION_MINOR
Use pqxx::version_minor instead.