MB6-704 · Question #1
You are developing logic that will use a query object to fetch data from a database. Which function should you use to validate that the elements of type query exist in the Application Object Tree…
The correct answer is C. QueryStr. QueryStr retrieves a string that represents an existing query. This function is a compile-time function, which is a metadata assertion function. Compile-time functions take arguments that represent entities in the Application Object Tree (AOT) and vali- date these arguments at…
Question
You are developing logic that will use a query object to fetch data from a database. Which function should you use to validate that the elements of type query exist in the Application Object Tree (AOTJ?
Options
- AQuery Build Data Source
- BQuery
- CQueryStr
- DQueryRun
How the community answered
(19 responses)- A11% (2)
- B5% (1)
- C79% (15)
- D5% (1)
Explanation
QueryStr retrieves a string that represents an existing query. This function is a compile-time function, which is a metadata assertion function. Compile-time functions take arguments that represent entities in the Application Object Tree (AOT) and vali- date these arguments at compile time. They have no effect at run time. Not D: The QueryRun class traverses tables in the database, fetches records that satisfy con- straints that are given by the user, and helps to gather such constraints from user input.
Topics
Community Discussion
No community discussion yet for this question.