[rules-users] Parameterized Queries?

Robert Crawford crawford at kloognome.com
Wed Sep 5 19:52:55 EDT 2007


On Sep 5, 2007, at 2:19 PM, Edson Tirelli wrote:

>
>    I think Mark just updated documentation for that and it will be  
> included in 4.0.2.
>    Meanwhile:
>
> query "find errors for site"( int $param1, String $param2, ...)
>     validationError: ValidationError( this.siteId == $param1)
> end
>
>    Parameter type is optional, and you can have as many parameters  
> as you need.

Thanks! That worked perfectly!






More information about the rules-users mailing list