[][src]Module faunadb::query::write

Write functions

Structs

ClassParams
Create

The Create function adds a new instance to a class.

CreateClass

The CreateClass function is used to create a class which groups instance objects.

CreateDatabase

The CreateDatabase function adds a new database to the cluster with the specified parameters.

CreateFunction

The CreateFunction operation adds a new user-defined function with the specified parameters.

CreateIndex

The CreateIndex function adds a new index to the cluster with the specified parameters.

CreateKey

CreateKey creates a new key to access a database with the specified param_object. It requires an admin key for authentication.

DatabaseParams
Delete

The delete function removes an object. Some of the common objects to delete are instances, classes, indexes and databases.

FunctionParams
IndexParams
IndexValue

Value objects describe the data covered by the index, which are included in query results on the index and control ordering of entries having the same terms.

Insert

The Insert function adds an event to an instance’s history at a specified timestamp.

InsertParams
KeyParams
Remove

The Remove function deletes an event from an instance’s history.

Replace

The Replace operation substitutes the user data pointed to by the reference with the data contained in the param_object. Values not specified in the param_object are removed.

Term

Term objects describe the fields used to locate entries in the index.

Update

The Update operation only modifies the specified fields in the instances pointed to by ref.

UpdateParams

Enums

Action
Role