User Guide

90 The Database API
The tableName argument is the name of the table for which you want to retrieve the set
of columns that comprises the primary key of that table.
Returns
An array of strings. The array contains one string for each column that comprises the primary
key.
Example
The following example returns the primary key for the specified table.
var connName = componentRec.parent.parent.parent.name;
var tableName = componentRec.name;
var primaryKeys = MMDB.getPrimaryKeys(connName,tableName);
MMDB.getProcedures()
Availability
Dreamweaver MX.
Description
This function returns an array of procedure objects that are associated with a named
connection.
Arguments
connName
The connName argument is a connection name that is specified in the Connection
Manager. It identifies the connection string that Dreamweaver should use to make a
database connection to a live data source.
000_DW_API_Print.book Page 90 Wednesday, July 20, 2005 11:58 AM