The runPrepQuery functions getKey only supports integer datatypes. It would be great if it could support other datatypes such as unique identifier or multiple column keys.
This ticket has more information: