Adapter for Nedb