Y
Hacker News
new
|
ask
|
show
|
jobs
by
SomeCallMeTim
5381 days ago
No, it's pretty easy. An example:
local doc = ngx.location.capture( "/couchdb/hamster/"..uid );
This queries the local CouchDB for a particular user record, and stores it in a local variable.