Connecting to a mssql Server


#1

Hello,
I’d like to connect to a mssql Database from the ionic Framework. How can this be done?
Is it only possible via http-server access?


#2

You need to write web api.

and use $http service for access.

as far as i know.


#3

Thank you very much for your Reply. I hoped there were some other support than web API.
I found this topic:


which already states me to the REST API.
So does anybody know if there is someting like a plugin which allows direct mssql access without any web api?


#4

I know this thread is really old, but someone might end up coming here, as I did.

this guy solved my problem: https://www.npmjs.com/package/cordova-plugin-sqlserver