USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Validate that a saved xAssets query executes without errors
Runs the named query to verify it executes correctly. Can optionally test query performance. When a search filter is supplied and SearchTest is enabled, the query is first tested without the filter and then again with it, so both code paths are exercised.
| Parameter | Description |
|---|---|
| cmd | saved query name |
| Argument 0 | true to measure and report query performance, false to only verify it runs |
| Argument 1 | optional search filter string to test the query with |
| Argument 2 | true to also test without the search filter when a filter is provided (default true) |
| Argument 3 | true to test all query levels, false to test only the top level (default true) |
TestQuery "saved query name", "true to measure and report query performance, false to only verify it runs", "optional search filter string to test the query with", "true to also test without the search filter when a filter is provided (default true)", "true to test all query levels, false to test only the top level (default true)"