|
| constexpr PQXX_PURE char | pqxx::internal::number_to_digit (int i) noexcept |
| | Convert a number in [0, 9] to its ASCII digit. More...
|
| |
| constexpr PQXX_PURE int | pqxx::internal::digit_to_number (char c) noexcept |
| | Compute numeric value of given textual digit (assuming that it is a digit). More...
|
| |
| std::string | pqxx::internal::state_buffer_overrun (int have_bytes, int need_bytes) |
| | Summarize buffer overrun. More...
|
| |
| template<typename HAVE , typename NEED > |
| PQXX_INLINE_COV std::string | pqxx::internal::state_buffer_overrun (HAVE have_bytes, NEED need_bytes) |
| |
| void | pqxx::internal::throw_null_conversion (std::string const &type, sl) |
| | Throw exception for attempt to convert SQL NULL to given type. More...
|
| |
| void | pqxx::internal::throw_null_conversion (std::string_view type, sl) |
| | Throw exception for attempt to convert SQL NULL to given type. More...
|
| |
| template<std::floating_point T> |
| PQXX_LIBEXPORT std::string | pqxx::internal::to_string_float (T, ctx={}) |
| |
| template<typename T > |
| char * | pqxx::internal::generic_into_buf (char *begin, char *end, T const &value, ctx c={}) |
| | Generic implementation for into_buf(), on top of to_buf(). More...
|
| |
| template<typename T > |
| std::size_t | pqxx::internal::generic_into_buf (std::span< char > buf, T const &value, ctx c={}) |
| | Generic implementation for into_buf(), on top of to_buf(). More...
|
| |
| template<typename T > |
| constexpr format | pqxx::param_format (std::optional< T > const &value) |
| |
| template<typename... Args> |
| constexpr format | pqxx::param_format (std::variant< Args... > const &value) |
| |
| template<typename T > |
| T | pqxx::from_string (std::stringstream const &text, ctx c={}) |
| |
| template<typename T , typename... Args> |
| format | pqxx::param_format (std::unique_ptr< T, Args... > const &value) |
| |
| template<typename T > |
| format | pqxx::param_format (std::shared_ptr< T > const &value) |
| |
| template<nonbinary_range TYPE> |
| std::size_t | pqxx::internal::array_into_buf (std::span< char > buf, TYPE const &value, std::size_t budget, ctx c={}) |
| | Write an SQL array representation into buf. More...
|
| |
| template<nonbinary_range T> |
| constexpr format | pqxx::param_format (T const &) |
| | We don't know how to pass array params in binary format, so pass as text. More...
|
| |
| template<typename TYPE > |
| PQXX_INLINE_COV std::string | pqxx::to_string (TYPE const &value, ctx c) |
| | Convert a value to a readable string that PostgreSQL will understand. More...
|
| |
| template<> |
| std::string | pqxx::to_string (float const &value, ctx c) |
| |
| template<> |
| std::string | pqxx::to_string (double const &value, ctx c) |
| |
| template<> |
| std::string | pqxx::to_string (long double const &value, ctx c) |
| |
| template<> |
| std::string | pqxx::to_string (std::stringstream const &value, ctx) |
| |
| template<typename T > |
| void | pqxx::into_string (T const &value, std::string &out, ctx c={}) |
| |