Search posts by UserId, comment text

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

SELECT Comments.Text, Comments.CreationDate
  FROM Comments
  LEFT JOIN Posts ON Posts.Id = Comments.PostId
 WHERE UPPER(Comments.Text) LIKE UPPER('%##CommentText##%')
   AND Comments.UserId = '1828637'
 ORDER BY Comments.CreationDate DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results