'A readonly attribute which returns the current WHERE criterion for
this Query.
This returned value is a SQL expression construct, or ``None`` if no
criterion has been established.'

@property
def whereclause(self):

    return self._criterion
