Thanks for your replys,<br><br>> Some code that I use to do the same thing:<br>
><br>
> cls = Employee<br>
> param = { 'age':30,'lastname':'smith' }<br>
><br>
> expressions = []<br>
> for k in param:<br>
> v = param[k]<br>
> if v == "none":<br>
> v = None<br>
> if hasattr(cls,k):<br>
> expressions += [ getattr(cls,k) == v ]<br>
><br>
><br>
> sl = store.find(cls,And(*<div class="Ih2E3d">expressions))<br><br><br>That's I'm searching for, and can we do this with "Like" instead of "And" ?<br></div>