QueryResponse query(String vqlQuery)
vqlQuery- VQL query to execute
Escaped characters include single quotes and backslashes. This method does not escape reserved keywords, such as SELECT or WHERE.
All user-provided values should be escaped to ensure your queries execute as expected. For example, in the following VQL statement:
SELECT id FROM user__sys WHERE name__v='O'Brien'The
namevalue is a user-entered value which, if not escaped, could cause the VQL parser to fail because of the special character.
Note that improperly escaped VQL will not bypass configured security.
value- the value to escape
Copyright © Veeva Systems 2017–2020. All rights reserved.