title: Postgre/SQLAlchemy UUID inserts but failed to compare
body: <p>I am accessing Postgre database using SQLAlchemy models. In one of models I have Column with UUID type.</p>
  
  <pre><code>id = Column(UUID(as_uuid=True), default=uuid.uuid4(), nullable=False, unique=True)
  </code></pre>
  
  <p>and it works when I try to insert new row (generates new id).
  Problem is when I try to fetch Person by id I try like</p>
  
  <pre><code>person = session.query(Person).filter(Person.id.like(some_id)).first()
  </code></pre>
  
  <p>some_id is string received from client
  but then I get <code>error LIKE (Programming Error) operator does not exist: uuid ~~ unknown</code>.</p>
  
  <p>How to fetch/compare UUID column in database through SQLAlchemy ?</p>