code: function db(objectName) {
      if (_.isBoolean(save.hasLoaded)) deasync.loopWhile(() => !save.hasLoaded);
      if (!_.has(objects, objectName)) objects[objectName] = {};
      return createMethods(objects[objectName], save.bind(null, objectName));
    }
docs: The database instance.
  
  @param {string} objectName
  @param {Object} methods