Session.Advanced.GetMetadataFor(value)[Constants.Documents.Expiration.ExpirationDate] = date.ToString("O");
Session.Advanced.GetMetadataFor(value).Remove(Constants.Documents.Expiration.ExpirationDate);
Hibernating Rhinos Ltd
Grisha Kotler l RavenDB Core Team Developer l Mobile: +972-54-586-8647
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
RavenDB paving the way to "Data Made Simple" http://ravendb.net/
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can use: Constants.Documents.Metadata.Expires
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
Hibernating Rhinos Ltd
Grisha Kotler l RavenDB Core Team Developer l Mobile: +972-54-586-8647
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
RavenDB paving the way to "Data Made Simple" http://ravendb.net/
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
Hibernating Rhinos Ltd
Grisha Kotler l RavenDB Core Team Developer l Mobile: +972-54-586-8647
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
RavenDB paving the way to "Data Made Simple" http://ravendb.net/
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
"@metadata": { "@collection": "AuthenticationTokens", "Raven-Clr-Type": "DDS.Webloader.Service.Entities.AuthenticationToken, DDS.Webloader.Service", "@expires": "2017-09-14T20:00:31.1727948Z" }
Best Regards,
Hibernating Rhinos Ltd
Fitzchak Yitzchaki l Senior Software Engineer l Mobile:+972-58-345-9538
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
One can activate the expiration bundle by modifying the database record in the studio, right?Not saying its the best way, but a workaround for now.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
It expected a json with Active and optional a DeleteFrequencyInSec:
https://github.com/ravendb/ravendb/blob/b3a7205a334eb994d1259a0120c93ea4ddd7c46a/src/Raven.Client/ServerWide/Expiration/ExpirationConfiguration.cs#L7
Best Regards,
Hibernating Rhinos Ltd
Fitzchak Yitzchaki l Senior Software Engineer l Mobile:+972-58-345-9538