Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
195 B
1
Indexable
Never
<select id="findActiveBlogWithTitleLike"
     resultType="Blog">
  SELECT * FROM BLOG
  WHERE state = ‘ACTIVE’
  <if test="title != null">
    AND title like #{title}
  </if>
</select>
Leave a Comment