Void Ray
Void Ray

Reputation: 10209

RavenDB attachments

I'm playing around with RavenDB and deleted few test documents that had attachments before I had any attachments handling, so I was wandering if they are still on the disk somewhere and how I can find them easily?.

Another question is: When document is deleted and it had an attachment, will the attachment get auto deleted?

I have browsed through RavenDB Web UI (Server), but could not find attachments.

Just in case, below is my add attachment code:

_session.Advanced.DocumentStore.DatabaseCommands.PutAttachment(key, null, stream, optionalMetaData);

Upvotes: 2

Views: 373

Answers (1)

Ayende Rahien
Ayende Rahien

Reputation: 22956

You can do that by going to http://localhost:8080/static and look at the json result that comes back.

Upvotes: 2

Related Questions