Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(discussion): replies have been moved to comments #11431

Merged
merged 1 commit into from
Nov 30, 2017

Conversation

jeabakker
Copy link
Member

@jeabakker jeabakker commented Nov 28, 2017

fixes #10217, #8458, #11424, #9762, #11423

ToDo

  • upgrade docs

public function run(Result $result, $offset) {

$qb = Update::table('entities', 'e')
->set('e.subtype', '"comment"')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as a note, one of the reasons we use QB is not to have to do the escaping:

$qb = Update::table('entities', 'e);
$qb->set('e.subtype', $qb->param('comment', 'string'))
->where($qb->compare('e.subtype', '=', 'discussion_reply', 'string'));

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks will try to remember for next time

@jeabakker jeabakker deleted the discussion-reply-to-comment branch January 22, 2018 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants