I need to perform a database select functionality for each value in the array. Parameter theRequestApplicationName contains an array like
["fb","dropbox","twitter"]
i need select functionality, in the below mentioned query it should be like application.name = each value of array. Please help me to solve this
ApplicationLogoutUrl = function (theRequestId, theRequestApplicationName, theRequestOrg, connection, res)
{
   theQuery = "select org_uses_app.app_logout_url 
                from  application, org_uses_app 
                where application.id=org_uses_app.application 
                and application.name = --";
}
 
     
     
     
    