// send each query to the database in a tight loop
for (int i{}; i < NB_QUERIES_TO_RUN; i += 1) {
p->push(
/*PGQueryParams::createBuilder("select u.user_account_id, u.email, u.hashed_password, u.salt, u.create_date, u.password_alg_id, u.session_id, u.session_end_date from user_account u where u.user_account_id=$1")*/
PGQueryParams::createBuilder("select * from pg_catalog.pg_type where typname = $1")
.addParam(p1)
//.addParam(p2)
.build(),
cb
);
}
// when you destruct a [PGQueryProcessor] it will wait until the currently running queries are done first