I have a record with ID is sample_account. I have deleted it by using this code:
record.destroyRecord();
But when I re-create a new record with the same ID (sample_account), I received this error:
Assertion Failed: The id sample_account has already been used with another record for modelClass 'account'.
How can I re-create a deleted record with the same ID?
Aucun commentaire:
Enregistrer un commentaire