I am looking to use Cloud Endpoints to create an API on the Google App Engine but all the tutorials I see are for how to interact with the Cloud Datastore. I am looking to use Cloud SQL though.
Does anyone have a Cloud Endpoints class sample code (in Java) that shows how to connect to Cloud SQL and execute some simple INSERT
and SELECT
statements? e.g.
INSERT message INTO messages
SELECT * FROM messages
Here is an example Cloud Endpoint class that updates Cloud SQL. The example assumes the end point is authenticated