assets/js/lib/jquery.couch.js
function(options) {
          $.extend(options, {successStatus: 202});
          ajax({
              type: "POST", url: this.uri + "_compact",
              data: "", processData: false
            },
            options,
            "The database could not be compacted"
          );
        }
function(options) {
          $.extend(options, {successStatus: 202});
          ajax({
              type: "POST", url: this.uri + "_compact",
              data: "", processData: false
            },
            options,
            "The database could not be compacted"
          );
        }
function ( options ) { $ . extend ( options , { successStatus : 202 } ) ; ajax ( { type : "POST" , url : this . uri + "_compact" , data : "" , processData : false } , options , "The database could not be compacted" ) ; }
Request compaction of the specified database.
@see <a href="http://techzone.couchbase.com/sites/default/files/
uploads/all/documentation/couchbase-api-db.html#couchbase-api-db_
db-compact_post">docs for /db/_compact</a>
@param {ajaxSettings} options
<a href="http://api.jquery.com/jQuery.ajax/#jQuery-ajax-settings">
jQuery ajax settings</a>
Request compaction of the specified database .