<div class="gmail_quote"><br>
<div>I think you might want to try something like this (untested):</div>
<div>list = [Class.ref=&quot;225654&quot;, Class.name=&quot;dfdfdf&quot;] # And so on...<br>result= store.find(Class, And(*list))</div>
<div>&nbsp;</div>
<div>Using this approach, you will add the necessary fields to &#39;list&#39; (corresponding to the user request), so the find statement is always the same.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>&nbsp;</div>
<div>Adriano Teixeira<br></div>
<div class="gmail_quote">
<div>
<div></div>
<div class="Wj3C7c">On Wed, Nov 12, 2008 at 11:33 AM, getdown balesh <span dir="ltr">&lt;<a href="mailto:blondin.boris@gmail.com" target="_blank">blondin.boris@gmail.com</a>&gt;</span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="Wj3C7c">Hi,<br><br>first, sorry for my bad english, I&#39;m french.<br><br>I will try to make a good explain of what I don&#39;t understand in Storm.<br><br>I have to catch a storm class in a database according to multiples fields.<br>
My problem is that the number of these fields can be various, it depends to the program user choices.<br><br>I have a string list containing the fields (and their values) I want to make the request with.<br><br>exemple:<br>
list=[<br>&quot;ref&quot;=&quot;225654&quot;,<br>&quot;name&quot;=&quot;dfdfdf&quot;,<br>&quot;surname&quot;=&quot;mlolm&quot;,<br>...<br>]<br><br>I can&#39;t do that:<br>result=store.find(Class, Class.ref=&quot;225654&quot;, Class.name=&quot;dfdfdf&quot; ... )<br>
because the fields number is unknown<br><br>What I want to do :<br>result= store.find(Class, list)<br><br>I didn&#39;t find the solution on <a href="https://storm.canonical.com/Tutorial" target="_blank">https://storm.canonical.com/Tutorial</a>, that&#39;s why I&#39;m asking you to.<br>
<br>I hope I were clear.<br><br>Thank you very much.<br><br></div></div>--<br>storm mailing list<br><a href="mailto:storm@lists.canonical.com" target="_blank">storm@lists.canonical.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/storm" target="_blank">https://lists.ubuntu.com/mailman/listinfo/storm</a><br>
<br></blockquote></div><br></div><br>