mirror of https://github.com/dapr/docs.git
Merge pull request #3192 from JoshVanL/state-store-ttl-mongodb
Sets TTL support for mongodb state store to enabled
This commit is contained in:
commit
b2bd42a22d
|
@ -112,6 +112,10 @@ The username is `admin` by default.
|
||||||
|
|
||||||
{{< /tabs >}}
|
{{< /tabs >}}
|
||||||
|
|
||||||
|
### TTLs and cleanups
|
||||||
|
|
||||||
|
This state store supports [Time-To-Live (TTL)]({{< ref state-store-ttl.md >}}) for records stored with Dapr. When storing data using Dapr, you can set the `ttlInSeconds` metadata property to indicate when the data should be considered "expired".
|
||||||
|
|
||||||
## Related links
|
## Related links
|
||||||
- [Basic schema for a Dapr component]({{< ref component-schema >}})
|
- [Basic schema for a Dapr component]({{< ref component-schema >}})
|
||||||
- Read [this guide]({{< ref "howto-get-save-state.md#step-2-save-and-retrieve-a-single-state" >}}) for instructions on configuring state store components
|
- Read [this guide]({{< ref "howto-get-save-state.md#step-2-save-and-retrieve-a-single-state" >}}) for instructions on configuring state store components
|
||||||
|
|
|
@ -106,7 +106,7 @@
|
||||||
crud: true
|
crud: true
|
||||||
transactions: true
|
transactions: true
|
||||||
etag: true
|
etag: true
|
||||||
ttl: false
|
ttl: true
|
||||||
query: true
|
query: true
|
||||||
- component: MySQL
|
- component: MySQL
|
||||||
link: setup-mysql
|
link: setup-mysql
|
||||||
|
|
Loading…
Reference in New Issue