updating arbitrary amount of objects?

6 posts, 0 answers
  1. Max
    Max avatar
    19 posts
    Member since:
    Jan 2015

    Posted 05 May 2015 Link to this post

    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?

  2. Vasil
    Admin
    Vasil avatar
    19 posts

    Posted 06 May 2015 Link to this post

    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.
     
  3. Max
    Max avatar
    19 posts
    Member since:
    Jan 2015

    Posted 06 May 2015 in reply to Vasil Link to this post

    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

  4. Vasil
    Admin
    Vasil avatar
    19 posts

    Posted 06 May 2015 Link to this post

    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.
     
  5. Max
    Max avatar
    19 posts
    Member since:
    Jan 2015

    Posted 07 May 2015 in reply to Vasil Link to this post

    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
  6. Vasil
    Admin
    Vasil avatar
    19 posts

    Posted 08 May 2015 Link to this post

    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.
     
Back to Top