Parse

Parse

new Parse()

Contains all Parse API classes and functions.

Classes

ParseACL
Analytics
AnonymousUtils
Cloud
ParseConfig
ParseError
FacebookUtils
ParseFile
LiveQuery
LiveQueryClient
Subscription
LocalDatastore
ParseObject
ParsePolygon
Push
ParseQuery
ParseRelation
ParseRole
ParseSchema
ParseSession
ParseUser

Members

(static) applicationId :string

Type:
  • string

(static) javaScriptKey :string

Type:
  • string

(static) liveQueryServerURL :string

Type:
  • string

(static) masterKey :string

Type:
  • string

(static) serverAuthToken :string

Type:
  • string

(static) serverAuthType :string

Type:
  • string

(static) serverURL :string

Type:
  • string

Methods

(static) dumpLocalDatastore()

Gets all contents from Local Datastore

await Parse.dumpLocalDatastore();

(static) enableLocalDatastore()

Enable pinning in your application. This must be called before your application can use pinning.

(static) initialize(applicationId, javaScriptKey, masterKey)

Call this method first to set up your authentication tokens for Parse. You can get your keys from the Data Browser on parse.com.

Parameters:
Name Type Description
applicationId String

Your Parse Application ID.

javaScriptKey String

(optional) Your Parse JavaScript Key (Not needed for parse-server)

masterKey String

(optional) Your Parse Master Key. (Node.js only!)

(static) isLocalDatastoreEnabled()

Flag that indicates whether Local Datastore is enabled.

(static) setAsyncStorage(storage)

Call this method to set your AsyncStorage engine Starting [email protected], the ParseSDK do not provide a React AsyncStorage as the ReactNative module is not provided at a stable path and changes over versions.

Parameters:
Name Type Description
storage AsyncStorage

a react native async storage.

(static) setLocalDatastoreController(controller)

Call this method to set your LocalDatastoreStorage engine If using React-Native use Parse.setAsyncStorage()

Parameters:
Name Type Description
controller LocalDatastoreController

a data storage.