whole_func_string: function MarkLogicStore(options) {
      options = options || {};
      var collectionName = options.collection || defaultOptions.collection;
      this.baseUri = options.baseUri || encodeURI(collectionName.replace(/\s/g,'-'));
  
      Store.call(this, options);
  
      this.collectionName = collectionName;
      this.ttl =  options.ttl || defaultOptions.ttl || 0;
  
      // retain the client that was passed in, or create a new client
      this.db = options.client || marklogic.createDatabaseClient(options);
  
    }
func_code_string: function MarkLogicStore(options) {
      options = options || {};
      var collectionName = options.collection || defaultOptions.collection;
      this.baseUri = options.baseUri || encodeURI(collectionName.replace(/\s/g,'-'));
  
      Store.call(this, options);
  
      this.collectionName = collectionName;
      this.ttl =  options.ttl || defaultOptions.ttl || 0;
  
      // retain the client that was passed in, or create a new client
      this.db = options.client || marklogic.createDatabaseClient(options);
  
    }
func_documentation_string: Initialize MarkLogicStore with the given `options`.
  
  @param {Object} options
  @api public