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