update whole table

can we update a whole table at once something like :

since we update an object like this -
let contact = Contact()
let dataStore = Backendless.sharedInstance().data.of(Contact.ofClass()) // update object asynchronously contact.title = “Superman” contact.phone = “212-555-5555” dataStore.save( contact, response: { (result: AnyObject!) -> Void in let updatedContact = result as! Contact print(“Contact has been updated: (updatedContact.objectId)”) }, error: { (fault: Fault!) -> Void in print(“Server reported an error (2): (fault)”) })

///updating whole table

dataStore.save( contactTable, response: { (result: AnyObject!) -> Void in }, error: { (fault: Fault!) -> Void in print(“Server reported an error (2): (fault)”) })
//conactTable = [Contact()]

It is not clear from your example what the “contactTable” argument in the save call is.

let conactTable = [Contact()] , its an array of contact object . same object that was returned by backendless’s data retrieving API

instead of updating a single object at once i wanna update the whole table

No, you cannot do that. The “save” call accepts a single object, it cannot accept an array.

any other api for that ?

See my comment here

alright , thanks