($type, $value) = $session->getByKey_t( $object, $table,
      [ $keytype, $keyvalue ] )

Identical to getByKey() but returns a code for the type of the result as well.

 ($type, $data) = $session->getByKey_t(
   "GA_CompoundDriver::Bridge-Generic-Driver",
   "drivers", [ "INT", 10 ] );