Can you elaborate a little bit on how an architecture like that would look like? I had great hopes for CouchDB once.
spc_handle_request(req_headers, req_body, http_method, ...)
stored procedure does simple routing and does something like insert into table (a, b, c) values (to_json(req_body).a, to_json(req_body).b, to_json(req_body).c);
or to_json(select * from emp);
Time to implement simple crud app: 10 minutes.