Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SomeCallMeTim
on Sept 29, 2011
|
parent
|
context
|
favorite
| on:
Fixing the callback spaghetti in node.js
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: