#35770 @0.5 [REFACTOR] Database.getPrimaryKeys() and tested the class