taocpp-taopq/cci.20231219

C++ client library for PostgreSQL
Recipe info
2024-01-05

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
taocpp-taopq/cci.20231219

Using taocpp-taopq

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
taocpp-taopq/cci.20231219
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("taocpp-taopq/cci.20231219")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): taopq
  • CMake target name(s): taocpp::taopq
  • _taocpp-taopq => taocpp::taopq
    
  • pkg-config file name(s): taocpp-taopq.pc
  • _taocpp-taopq => taocpp-taopq-_taocpp-taopq.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(taopq REQUIRED)
# ...
target_link_libraries(YOUR_TARGET taocpp::taopq)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the taocpp-taopq homepage listed above:

#include "tao/pq.hpp"
#include "tao/pq/access_mode.hpp"
#include "tao/pq/binary.hpp"
#include "tao/pq/bind.hpp"
#include "tao/pq/connection.hpp"
#include "tao/pq/connection_pool.hpp"
#include "tao/pq/connection_status.hpp"
#include "tao/pq/exception.hpp"
#include "tao/pq/field.hpp"
#include "tao/pq/internal/aggregate.hpp"
#include "tao/pq/internal/demangle.hpp"
#include "tao/pq/internal/dependent_false.hpp"
#include "tao/pq/internal/exclusive_scan.hpp"
#include "tao/pq/internal/from_chars.hpp"
#include "tao/pq/internal/gen.hpp"
#include "tao/pq/internal/parameter_traits_helper.hpp"
#include "tao/pq/internal/poll.hpp"
#include "tao/pq/internal/pool.hpp"
#include "tao/pq/internal/printf.hpp"
#include "tao/pq/internal/resize_uninitialized.hpp"
#include "tao/pq/internal/strtox.hpp"
#include "tao/pq/internal/unreachable.hpp"
#include "tao/pq/internal/zsv.hpp"
#include "tao/pq/is_aggregate.hpp"
#include "tao/pq/isolation_level.hpp"
#include "tao/pq/large_object.hpp"
#include "tao/pq/notification.hpp"
#include "tao/pq/null.hpp"
#include "tao/pq/oid.hpp"
#include "tao/pq/parameter.hpp"
#include "tao/pq/parameter_traits.hpp"
#include "tao/pq/parameter_traits_aggregate.hpp"
#include "tao/pq/parameter_traits_array.hpp"
#include "tao/pq/parameter_traits_optional.hpp"
#include "tao/pq/parameter_traits_pair.hpp"
#include "tao/pq/parameter_traits_tuple.hpp"
#include "tao/pq/poll.hpp"
#include "tao/pq/result.hpp"
#include "tao/pq/result_traits.hpp"
#include "tao/pq/result_traits_aggregate.hpp"
#include "tao/pq/result_traits_array.hpp"
#include "tao/pq/result_traits_optional.hpp"
#include "tao/pq/result_traits_pair.hpp"
#include "tao/pq/result_traits_tuple.hpp"
#include "tao/pq/row.hpp"
#include "tao/pq/table_field.hpp"
#include "tao/pq/table_reader.hpp"
#include "tao/pq/table_row.hpp"
#include "tao/pq/table_writer.hpp"
#include "tao/pq/transaction.hpp"
#include "tao/pq/transaction_status.hpp"
#include "tao/pq/version.hpp"