I have a $scope object as bellow
$scope.array=[{"ID":"1","ID":"2","ID":"3"}];
What I want to do is pass these values to the following SQL query
Select * from table where ID in("Here I need the above 3 values one after another")
How can I do this?