public function getPrimaryKeys($table)
    {
        $keys_query = "SHOW KEYS FROM {$table} WHERE Key_name='PRIMARY'";

        $statement = $this->pdo->prepare($keys_query);

        $result = $this->statementWrapper($statement, "Trying to get keys failed with the following message: ");

        if ($result) {
            $keys = $this->processPrimaryKeyResult($result);
        } else {
            $keys = false;
        }

        return $keys;
    }