yandex / ozo

OZO is a C++17 Boost.Asio based header-only library for asyncronous communication with PostgreSQL DBMS.
PostgreSQL License
226 stars 45 forks source link

Prepare statments #237

Open panmareksadowski opened 4 years ago

panmareksadowski commented 4 years ago

1)Is ozo support prepared statements?
https://libpqxx.readthedocs.io/en/6.4/a01480.html

2)"SELECT FROM table WHERE id="_SQL+1 Is ozo sending query like this as a prepare statement "SELECT FROM table WHERE id=$1" and then calling this prepared statement with argument 1?

thed636 commented 4 years ago

Hi

Unfortunately no, OZO does not support prepare statement, and this is not the priority task for us. But we are always welcome to the project contribution, so if you need such functionality and have the will to implement it, then I try to help with my best.

panmareksadowski commented 4 years ago

Thanks for your response. When I will have some free time maybe I will try to contribute to it.