更新时间:2023-12-03 13:15:16
您可以使用收集在创建函数来添加一个模型,并自动保存到服务器上。
You can use the create function on the collection to add a model and have it automatically saved to the server.
myCollection.create({title: Romeo and Juliette, author: Shakespeare});
下面是对创建功能的文档。
Here's the documentation on the create function.