Manually remove record from ember data store

后端 未结 1 1422
后悔当初
后悔当初 2020-12-10 13:16

I am using ember and ember data in my application . How can we remove manually a record from the store in Ember . Currently i am pushing the record to store using push metho

1条回答
  •  孤城傲影
    2020-12-10 13:58

    record.unloadRecord() or store.unloadRecord(record), additionally you can remove all records for a type, store.unloadAll(type)

    0 讨论(0)
提交回复
热议问题