Database Class

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