Creating, Updating, and Deleting Records
Create
To create a new record, instantiate a model object and call .save():
Update
Updating a record is straightforward. Retrieve the record, modify its attributes, and call .save() again:
Delete
Deleting a record is as simple as calling the .delete() method:
Last updated