data method

JSObject data()

Retrieves all fields in the document as an Object. Returns 'undefined' if the document doesn't exist.

@return An Object containing all fields in the document.

Implementation

external JSObject data();