Insert & Delete
This chapter focuses on the insert, upsert, and delete operations.
Insert Entities [READ MORE]
Entities in a collection are data records that share the same set of fields. Field values in every data record form an entity. This page introduces how to insert entities into a collection.
Upsert Entities [READ MORE]
The `upsert` operation provides a convenient way to insert or update entities in a collection. It intelligently handles data by checking for the existence of a primary key if the key already exists, the corresponding entity is updated; otherwise, a new entity is inserted. This makes `upsert` the recommended method for managing data when you are unsure if an entity already exists or when you need to avoid creating duplicate entries.
Delete Entities [READ MORE]
You can delete the entities that are no longer needed by filtering conditions or their primary keys.