Thanks for your replys,
> Some code that I use to do the same thing:
>
> cls = Employee
> param = { 'age':30,'lastname':'smith' }
>
> expressions = []
> for k in param:
> v = param[k]
> if v == "none":
> v = None
> if hasattr(cls,k):
> expressions += [ getattr(cls,k) == v ]
>
>
> sl = store.find(cls,And(*expressions))
That's I'm searching for, and can we do this with "Like" instead of "And" ?
--
storm mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/storm