to String
Returns a stringified representation of a document identifier.
The returned string can be used directly in queries that you use with other Ditto functions. For example you could create a query that was like this:
myCollection.find("_id == ${docId.toString()}")
Content copied to clipboard
Return
a stringified representation of the document identifier.