get

operator fun Array.get(index: Int): Fragment(source)

Subscript access to a Fragment object by index.

Parameters

index

The Index. If the index value exceeds the bounds of the array, the MutableFragment object will represent a nil value.


Gets document fragment object by the given document ID.

Parameters

key

The key.


operator fun Dictionary.get(key: String): Fragment(source)
operator fun Document.get(key: String): Fragment(source)

Subscript access to a Fragment object by key.

Parameters

key

The key.


operator fun MutableArray.get(index: Int): MutableFragment(source)

Subscripting access to a MutableFragment object that represents the value at the given index.

Parameters

index

The index. If the index value exceeds the bounds of the array, the MutableFragment object will represent a nil value.


Subscripting access to a MutableFragment object that represents the value of the dictionary by key.

Parameters

key

The key.


Subscripting access to a MutableFragment object that represents the value of the document by key.

Parameters

key

The key.


operator fun Result.get(index: Int): Fragment(source)

Subscript access to a Fragment object of the projecting result value at the given index.

Parameters

index

The select result index.


operator fun Result.get(key: String): Fragment(source)

Subscript access to a Fragment object of the projecting result value for the given key.

Parameters

key

The select result key.


Deprecated

Use defaultCollection.get()

Replace with

defaultCollection[key]

Gets document fragment object by the given document ID.

Parameters

key

The key.