Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Represents a connected MongoDB database, containing functions for interacting with the processes within MongoDB.


public class Database

Example

The following example clears the pages from a specific process in the database.

public class ClearPages : CustomNode
{
    public override void Run()
    {
        var process = Database.GetProcessById(1);
		process.Document.ClearPages();
		Database.UpdateProcess(process);
    }
}

Methods

Gets a Process from the process database by process ID.

Queries the MongoDB database for a list of Processes that satisfy a property match.

Inserts a new Process into the process database.

Updates an existing Process in the process database.

Deletes a process from the process database by process ID.

  • No labels