Gatsby DOM for Databases 3.0 Reference

DataSources Object


A Gatsby Data Sources File.

Remarks

A data sources file stores information about the databases that are to be exposed through Gatsby Database Explorer.

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.
FileNameThe full path of the Data Sources file.
IsDirtyTrue if there are unsaved changes to the data sources file.
AnonymousUsernameThe user name to be used for Anonymous logins.
AnonymousPasswordThe password to be used for Anonymous logins.
BaseLocationA file system path for resolving the location of relative file names.
WorkgroupFileNameThe file system location of the Workgroup file.

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.
SaveSaves changes to the Data Sources file.
SaveAsSave the current Data Sources file to a different file name.
AppendAdd a new database to the data sources file.