3 ms·
You specify a route in the nginx config, and when the route is requested, it serves up the result of the sql query that you specified. Even further, it looks l
by turtle4 16y ago
You specify a route in the nginx config, and when the route is requested, it serves up the result of the sql query that you specified. Even further, it looks like it will run different queries, depending on the type of request made (GET, PUT, DELETE).
This just makes it a little easier to put together a RESTful app. Alot of those apps are just thin wrappers around the request that check the request type, check authentication, and then perform a simple db statement. This is easier to define, and apparently alot faster.
- piotrSikora 16y agoYup, that's exactly the idea here :)