MuleSoft
MCD-LEVEL-1 · Question #54
What payload is returned by a Database SELECT operation that does not match any rows in the database?
The correct answer is D. Empty Array. Empty array is returned when no rows are matched. MuleSoft Doc Ref : https://docs.mulesoft.com/db-connector/1.9/database-connector-select
Connecting to External Systems
Question
What payload is returned by a Database SELECT operation that does not match any rows in the database?
Options
- Afalse
- Bnull
- CException
- DEmpty Array
How the community answered
(18 responses)- A6% (1)
- B6% (1)
- D89% (16)
Explanation
Empty array is returned when no rows are matched. MuleSoft Doc Ref : https://docs.mulesoft.com/db-connector/1.9/database-connector-select
Topics
#Database connector#SELECT operation#empty result set
Community Discussion
No community discussion yet for this question.