What feature would make Titanium Appcelerator better?

Create Multiple Objects in one Call

Creating multiple objects with a single call would be very convenient. Passing an array with the objects to be created.

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    AnonymousAdminAnonymous (Admin, Appcelerator Wishlist) shared this idea  ·   ·  Admin →

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • AnonymousAdminAnonymous (Admin, Appcelerator Wishlist) commented  · 

        Somthing Similar to appendAndCreate in Stackmob but just the multiple object creation.

        var item1 = new Todo({ 'action': 'buy milk' });
        var item2 = new Todo({ 'action': 'wash the car' });

        var user = new StackMob.User({ username: 'john' });
        user.appendAndCreate('todos', [item1, item2], {
        success: function(model) {},
        error: function(model, response) {}
        });

      • Tony LukasavageTony Lukasavage commented  · 

        Can you provide a some test code? Need to understand exactly what you are looking for

      Feedback and Knowledge Base