[Support only] Parse - Cloud data, Push, Analytics and Code

Post your completed addons to share with the community

Post » Mon Apr 13, 2015 6:42 pm

@rexrainbow The expression:LastData should be a JSON string. Otherwise the normal retrieve functions use AnyType.
Version 1.0.2.0 has a bug that only returns string for Cloud callbacks. This is fixed in version 1.0.2.1.
B
18
S
7
Posts: 88
Reputation: 1,424

Post » Mon Apr 13, 2015 11:27 pm

@arne

Yes, I am trying something on cloud code which return number.
B
108
S
26
G
259
Posts: 4,433
Reputation: 145,689

Post » Tue Apr 14, 2015 4:28 pm

@rexrainbow I have sent out an update now with the correction for the cloud code callback. Sorry for the delay.
B
18
S
7
Posts: 88
Reputation: 1,424

Post » Sat May 02, 2015 4:37 pm

About Pointer/Relation in class

Hello @Arne,

Is it possible to make Relational Data with the plugin ?

Exemple with a Post and Comment here:
https://www.parse.com/docs/js_guide#objects-pointers
B
18
S
4
Posts: 83
Reputation: 2,083

Post » Sun May 03, 2015 12:49 pm

@amkp The only "Relational Data" that exists today is the File Object that you can store in a column.

When I first did the plugin it was only meant to handle simple table like data, so the design become hard coded around that. If there is an interest in having more advanced functions I can have look into it.

Do you have a simple use case that I can use as an example?
B
18
S
7
Posts: 88
Reputation: 1,424

Post » Sun May 03, 2015 1:31 pm

hello @Arne

About Pointer/Relation in class
The use is simply:
A User (class) have "one or many" Image (class).
So the class Image need a Pointer reference to the User object (if we use the Parse official logic).

For the moment, I make it with a "manual" relation : the ObjectId of User is inserted like a simple string in Image class.

But there is other difficulty...

About default Columns in Parse Query with User class or Custom class

It seems the defaults columns of class: objectId,createdAt,updatedAt are not returned when we use ParseFE.QueryDataCurrent("objectId") or ParseFE.QueryData(ParseFE.QueryDataIndex, "objectId")

However, if I use a general ParseFE.LastData, these infos are well returned.

Is it normal, bug or error from me ?
(this is more important than Pointer/Relation for me at this day)
B
18
S
4
Posts: 83
Reputation: 2,083

Post » Sun May 03, 2015 2:55 pm

@Arne

As @amkp said, there are 2 chapters about "Relational Data",
save: https://www.parse.com/docs/js_guide#objects-pointers
query: https://www.parse.com/docs/js_guide#queries-relational
One-to-One and One-to-Many Relationships
Many-to-Many Relationships


I had implemented "One-to-One and One-to-Many Relationships" in my parse application plugin.
B
108
S
26
G
259
Posts: 4,433
Reputation: 145,689

Post » Sun May 03, 2015 4:01 pm

hello @rexrainbow

rexrainbow wrote:I had implemented "One-to-One and One-to-Many Relationships" in my parse application plugin.


You are talking about your plugin Parse "Item table" ?
B
18
S
4
Posts: 83
Reputation: 2,083

Post » Sun May 03, 2015 4:23 pm

@amkp

Yes, "Item table" is one of them, but I had not finished the document yet.
B
108
S
26
G
259
Posts: 4,433
Reputation: 145,689

Post » Sun May 03, 2015 4:27 pm

@rexrainbow

rexrainbow wrote:Yes, "Item table" is one of them, but I had not finished the document yet.


Is there an official Post for your Parse plugins ?
B
18
S
4
Posts: 83
Reputation: 2,083

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 4 guests