func (db *DB) Flush(ctx context.Context) error {
	if flusher, ok := db.driverDB.(driver.DBFlusher); ok {
		return flusher.Flush(ctx)
	}
	return errors.Status(StatusNotImplemented, "kivik: flush not supported by driver")
}
// Flush requests a flush of disk cache to disk or other permanent storage.
//
// See http://docs.couchdb.org/en/2.0.0/api/database/compact.html#db-ensure-full-commit
Flush requests a flush of disk cache to disk or other permanent storage.


// Flush requests a flush of disk cache to disk or other permanent storage . // // See http : // docs . couchdb . org / en / 2 . 0 . 0 / api / database / compact . html#db - ensure - full - commit
func (db *DB) Flush(ctx context.Context) error {
	if flusher, ok := db.driverDB.(driver.DBFlusher); ok {
		return flusher.Flush(ctx)
	}
	return errors.Status(StatusNotImplemented, "kivik: flush not supported by driver")
}
func ( db * DB ) Flush ( ctx context . Context ) error { if flusher , ok := db . driverDB . ( driver . DBFlusher ) ; ok { return flusher . Flush ( ctx ) } return errors . Status ( StatusNotImplemented , " " ) }
Flush requests a flush of disk cache to disk or other permanent storage.
Flush requests a flush of disk cache to disk or other permanent storage .