Mehul
Mehul

Reputation: 178

How to add Unitemporal document in MarkLogic

Can somebody give me a sample unitemporal document that we can use in MarkLogic? I need to create a collection on the system time and add some documents in it. Also need to upload and check multiple versions of the same document. How to do these?

Upvotes: 0

Views: 72

Answers (1)

grtjn
grtjn

Reputation: 20414

Listing out all steps would be too much for a Stack Overflow answer. I recommend reading the Temporal Guide. It discusses both uni-temporal and bi-temporal in detail, and comes with fully explained examples.

Also worth reading is this blog about temporal support in MarkLogic, but mostly as introduction to the topic:

https://www.marklogic.com/blog/bitemporal/

HTH!

Upvotes: 1

Related Questions