Gatsby DOM for Databases 3.0 Reference

Relation Object


A node that represents a relationship between two nodes.

Properties

NameDescription
nodeNameContains the qualified name of the element or attribute.
nodeTypeSpecifies the DOM node type, which determines valid values and whether the node can have child nodes.
parentNodeContains the parent node (for nodes that can have parents).
childNodesContains a node list containing the children (for nodes that can have children).
firstChildContains the first child of this node.
lastChildReturns the last child node.
previousSiblingContains the left sibling of this node.
nextSiblingContains the next sibling of this node in the parent's child list.
attributes Contains the list of attributes for this node.
nodeTypeStringthe type of node in string form - ms extension
texttext content of the node and subtree - ms extension
nodeTypedValueget the strongly typed value of the node - ms extension
dataTypethe data type of the node - ms extension
parsedhas sub-tree been completely parsed - ms extension
prefixthe prefix for the namespace applying to the node - ms extension
baseNamethe base name of the node (nodename with the prefix stripped off) - ms extension
CaptionThe user-friendly name of the node.
PathThe relational path the node.
DependentTrue if the view is referenced in a cascade-delete relationship.
NameThe name of the view.
DescriptionA description of the view.
HiddenDetermines whether the view is hidden.
SchemaThe schema of the view.

Methods

NameDescription
removeChildRemoves the specified child node from the list of children and returns it.
hasChildNodesReturns true if this node has children.
selectSingleNodeexecute query on the subtree - ms extension
getAttributeGets the value of the named attribute.
setAttributeSet the value of the named attribute.
getAttributeNodeGets the named attribute node.
CloseCloses the node.
FindNodeFinds a node using a relational path.
RefreshPopulate the node with the most recent information.
NewRowCreates a new row in the view.