From 5e2d6a14980af4b4d028da4679c92b26a9af4fe1 Mon Sep 17 00:00:00 2001 From: Rodrigo de Souza Marques Date: Fri, 8 Mar 2019 11:26:10 -0300 Subject: [PATCH] Update README.md Update with new functions and objects --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/README.md b/README.md index 12abb93e9..f3e1199b6 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,12 @@ The features available are:- * NotEqualTo * StartsWith * EndsWith + * Exists + * Near + * WithinMiles + * WithinKilometers + * WithinRadians + * WithinGeoBox * Regex * Order * Limit @@ -120,6 +126,8 @@ The features available are:- * Complex queries as shown above * Pin * Plenty more + * Counters + * Array Operators ## Custom Objects You can create your own ParseObjects or convert your existing objects into Parse Objects by doing the following: @@ -166,6 +174,29 @@ and to retrieve it var dietPlan = DietPlan().fromPin('OBJECT ID OF OBJECT'); ``` +## Increment Counter values in objects + +Retrieve it, call + +``` +var response = await dietPlan.increment("count", 1); + +``` + +## Array Operator in objects + +Retrieve it, call + +``` +var response = await dietPlan.add("listKeywords", ["a", "a","d"]); + +var response = await dietPlan.addUnique("listKeywords", ["a", "a","d"]); + +var response = await dietPlan.remove("listKeywords", ["a"]); + +``` + + ## Users You can create and control users just as normal using this SDK. @@ -195,6 +226,7 @@ Other user features are:- * Get all users * Save * Destroy user + * Queries ## Config @@ -212,10 +244,12 @@ ParseConfig().addConfig('TestConfig', 'testing'); Main: * Users +* Installation * Objects * Queries * LiveQueries * GeoPoints +* Files * Persistent storage * Debug Mode - Logging API calls * Manage Session ID's tokens @@ -223,12 +257,14 @@ Main: User: * Create * Login +* Logout * CurrentUser * RequestPasswordReset * VerificationEmailRequest * AllUsers * Save * Destroy +* Queries Objects: * Create new object