how can i convert this part according to postgresql??
Im a newbie in PostgreSQL. I have a mysql insert query in c++. You can see it below. I want to convert mysql db to postgresql.
Im using #include <postgresql/libpq-fe.h> for it.
Here is my mysql code:
Code:
pstmt = con->prepareStatement("INSERT INTO public.comp_inventory(epp_mac_address,epp_data) VALUES (?,?)");
pstmt->setString(1, root.get("MAC","null").asString());