Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

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


Code Block
public class Database

Example

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

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



Methods

GetProcessById

Filter by label (Content by label)

Insert excerptCN:GetProcessById MethodCN:GetProcessById Methodnopaneltrue Insert excerptCN:GetProcessesByProperty MethodCN:GetProcessesByProperty Methodnopaneltrue Insert excerptCN:InsertProcess MethodCN:InsertProcess Methodnopaneltrue Insert excerptCN:UpdateProcess MethodCN:UpdateProcess Methodnopaneltrue Insert excerptCN:DeleteProcessById MethodCN:DeleteProcessById Methodnopaneltrue

showLabelsfalse
showSpacefalse
sorttitle
excerptTypesimple
cqllabel = "databasemethod"