[storm] Storm : Multiple fields request
getdown balesh
blondin.boris at gmail.com
Wed Nov 12 11:33:25 GMT 2008
Hi,
first, sorry for my bad english, I'm french.
I will try to make a good explain of what I don't understand in Storm.
I have to catch a storm class in a database according to multiples fields.
My problem is that the number of these fields can be various, it depends to
the program user choices.
I have a string list containing the fields (and their values) I want to make
the request with.
exemple:
list=[
"ref"="225654",
"name"="dfdfdf",
"surname"="mlolm",
...
]
I can't do that:
result=store.find(Class, Class.ref="225654", Class.name="dfdfdf" ... )
because the fields number is unknown
What I want to do :
result= store.find(Class, list)
I didn't find the solution on https://storm.canonical.com/Tutorial, that's
why I'm asking you to.
I hope I were clear.
Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/storm/attachments/20081112/08880fa0/attachment.htm
More information about the storm
mailing list