As it says in the documentation of the DBLookup Mediator it only returns the first row of the query, the other results if they are, were ignored.
I want to know if t
Simply Use the DBSelect Mediator from here https://github.com/ichakios/dbselect-wso2-mediator easy to use and return JSON result