This is a migrated thread and some comments may be shown as answers.

updating arbitrary amount of objects?

5 Answers 28 Views
Cloud Code
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Max
Top achievements
Rank 1
Max asked on 05 May 2015, 09:10 AM

i am facing the problem that i have to update an arbitrary amount of objects via the cloud code.

as each object has to be identified itself i can not use the multiple update call, but have to issue an update for each object independently.

 

i know that librarys such as Q or the $.Deferred of jQuery exist to handle this, but they are not available in cloud code.

 so what would be the best practice to achieve this in cloud code?

and would it be possible to fire these calls in parallel rather than in sequence so that the possible timeout window would not be reached?

5 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 06 May 2015, 10:43 AM
Hi Max,

Unfortunately the cloud code currently does not support the functionality in question. We are aware of this limitation and we are planning on implementing a solution soon.

Please let me know if there is anything else I can assist you with.

Regards,
Vasil
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
0
Max
Top achievements
Rank 1
answered on 06 May 2015, 11:20 AM

not quite the answer, that i was hoping for.

any expected timeframe for this solution?

 

guess i will have to fix the amount and than hardcode for these cases, which makes the code even more complex

0
Vasil
Telerik team
answered on 06 May 2015, 02:57 PM
Hello Max,

We will consider adding this functionality in some form or another during our next iteration. However unfortunately I cannot give you a specific timeframe as it depends on the currently pending tasks. I hope we would be able to roll out an update within a month or so. Do you think that would work for you?

Regards,
Vasil
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
0
Max
Top achievements
Rank 1
answered on 07 May 2015, 11:03 AM
guess will implement the bare minimum to enable the necessary feature and than extent it once it is possible to do this the easy way
0
Vasil
Telerik team
answered on 08 May 2015, 06:28 AM
Hi Max,

Keep an eye on the "What's new" page in the documentation as we update it on a regular basis and we will post information regarding this functionality as soon as we have implemented it.

Let us know if you have further questions or suggestions, we will be happy to help.

Regards,
Vasil
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
Tags
Cloud Code
Asked by
Max
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Max
Top achievements
Rank 1
Share this question
or