ReadSimpleData()

Description

This function reads the document at a particular location, given by the collection it is under and the document name.

Syntax

ReadSimpleData(collectionName, documentName)

Returns

Number   //a positive integer you can note down

Example Implementation

var readId = ReadSimpleData("users", "Peter")

This requests the server to look into "users/Peter" for data.

the callback_ReadSimpleData() actually returns the data.

Last updated