Ported to C++: Database_Jobs