/
Database Class

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

Related content

CustomNode Class
CustomNode Class
Read with this
CaptureProcess Class
CaptureProcess Class
More like this
GetPropertyNames Method
GetPropertyNames Method
Read with this
Process Class
Process Class
More like this
UpdateProcess Method
UpdateProcess Method
More like this
RemovePage Method
RemovePage Method
More like this