This package can execute SQL queries and return JSON responses.
It can take request passing a SQL query and it executes the query to return the response results encoded as a JSON string.
The package can restrict the access to query results to HTTP requests that pass an API access authorization token string value, so it can be used in browser side API HTTP requests sent via AJAX.
Requests can also be authenticated using a given password generated by the package.
The class parses the SQL string before executing to make it easy to process and eventually prevent security attacks.
The database access queries can be done to several different types of SQL databases supported by this package. |