4 ms·
No, it's pretty easy. An example: local doc = ngx.location.capture( "/couchdb/hamster/"..uid ); This queries the local CouchDB for a particular user reco
by SomeCallMeTim 15y 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.