title: String matching in Peewee (SQL)
body: <p>I am trying to query in Peewee with results that should have a specific substring in them.</p>
  
  <p>For instance, if I want only activities with "Physics" in the name:</p>
  
  <pre><code>schedule = Session.select().join(Activity).where(Activity.name % "%Physics%").join(Course).join(StuCouRel).join(Student).where(Student.id == current_user.id)
  </code></pre>
  
  <p>The above example doesn't give any errors, but doesn't work correctly.</p>
  
  <p>In python, I would just do <code>if "Physics" in Activity.name</code>, so I'm looking for an equivalent which I can use in a query.</p>