Skip to main content
Skip table of contents

Database Class

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


CODE
public class Database

Example

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

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


Methods

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.