implement freelancer alias base management page
and minor fixes
This commit is contained in:
@ -452,6 +452,16 @@ namespace Database {
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
* Executes the prepared statement SELECT_FREELANCER_ALIAS
|
||||
* Takes an open pqxx::connection and the freelancer email to select by
|
||||
*/
|
||||
pqxx::result executePreparedStatement_SELECT_FREELANCER_ALIAS(pqxx::connection &connection, const std::string& freelancerEmail) {
|
||||
pqxx::work work(connection);
|
||||
pqxx::result result = work.exec_prepared(PREPARED_STATEMENT_SELECT_FREELANCER_ALIAS, freelancerEmail);
|
||||
work.commit();
|
||||
return result;
|
||||
}
|
||||
/*
|
||||
* Executes the prepared statement UPDATE_LOGIN_VALIDATION_KEY
|
||||
* Takes an open pqxx::connection, the freelancerID and the loginKey to update the entry
|
||||
|
Reference in New Issue
Block a user