Ditto Document IDPath
class DittoDocumentIDPath
Content copied to clipboard
Provides an interface to specify a path to a key in a document ID that you can then call a function on to get the value at the specified key as a specific type. You obtain a DittoDocumentIDPath by subscripting a DittoDocumentID and you can then further subscript a DittoDocumentIDPath to further specify the key of the document ID that you want to get the value of.
Functions
get
Link copied to clipboard
Used to specify an index in the array at the preceding key-path specified through the subscripting defined previously. You can subscript the return value further to access a further nested key in the document ID.
Used to specify a path to a key in the document ID that you can subscript further to access a nested key in the document ID.