QuestionQ42

VerifiedDeveloping Mule Applications

Refer to the exhibits. The Database Select operation retrieves five rows from a database.

What does the Logger component log?

Question Image

Explanation

A Database Select operation outputs an Array of Object values, with each returned database row represented by an object. typeOf(payload) evaluates the runtime type of the complete payload; therefore, it returns Array rather than the type of an individual row. Database Connector Reference, DataWeave typeOf

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!