db.get('flights', 'KLM-5034')(function(flight, meta) {
...
});
Is this a typo? Shouldn't it be:
db.get('flights', 'KLM-5034', function(flight, meta) { ... });
Is this a typo? Shouldn't it be:
db.get('flights', 'KLM-5034', function(flight, meta) { ... });
db.get() is a bad example, I'm not sure why you'd want to pass anything other than bucket/key to get an object. In this exact case, I imagine it's just for consistency with the rest of the API.