christkv/node-mongodb-native — Issue #410: Optional callbacks for Db functions
Author: sbrekken
Created: 2011-11-18 12:16:46+00:00
State: open

While most of the Collection functions can be invoked without a callback, most of the Db functions require one. It would be nice if all functions used the same way of detecting callbacks as Collection does.

Maybe an idea could be creating an utility function that unwrapped arguments and replaced the missing callback with a noop or similar?