Like the above constructor, except it also accepts a Connection as the first param. A copy of the Connection is not made.
Connection conn; // an established connection auto q = Query(conn, "SELECT 1::INT"); Connection conn; // an established connection auto q = Query(conn, "SELECT $1::INT", 1);
See Implementation
Like the above constructor, except it also accepts a Connection as the first param. A copy of the Connection is not made.