if (filter_var($linkId, FILTER_VALIDATE_INT) && $linkId > 0) {
            $where['id = ?'] = $linkId;
        }