def mget(keys)
      validate_key_array(keys)

      Result.new {
        kvs = GitHub::SQL.results(<<-SQL, :keys => keys, :connection => connection).to_h
          SELECT `key`, value FROM key_values WHERE `key` IN :keys AND (`expires_at` IS NULL OR `expires_at` > NOW())
        SQL

        keys.map { |key| kvs[key] }
      }
    end
def mget(keys)
      validate_key_array(keys)

      Result.new {
        kvs = GitHub::SQL.results(<<-SQL, :keys => keys, :connection => connection).to_h
          SELECT `key`, value FROM key_values WHERE `key` IN :keys AND (`expires_at` IS NULL OR `expires_at` > NOW())
        SQL

        keys.map { |key| kvs[key] }
      }
    end
mget :: [String] -> Result<[String | nil]>

 Gets the values of all specified keys. Values will be returned in the
 same order as keys are specified. nil will be returned in place of a
 String for keys which do not exist.

 Example:

   kv.mget(["foo", "octocat"])
     # => #<Result value: ["bar", nil]