Specifications

Chapter 27332
MMDB.getTables()
Availability
Dreamweaver UltraDev 1
Description
Gets a list of all the tables that are defined for the specified database. Each table object has three
properties:
table, schema, and catalog. Table is the name of the table, schema is the name of
the schema that contains the table, and
catalog is the catalog that contains the table.
Arguments
connName
connName 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.
Returns
An array of objects where each object has three properties: table, schema, and catalog.
Example
The statement MMDB.getTables ("EmpDB"); might produce an array of two objects. The first
objects properties might be similar to the following example:
object1[table:"Employees", schema:"personnel", catalog:"syscat"]
The second objects properties might be similar to the following example:
object2[table:"Departments", schema:"demo", catalog:"syscat2"]
MMDB.getViews()
Availability
Dreamweaver UltraDev 4
Description
Gets a list of all the views that are defined for the specified database. Each view object has
catalog, schema, and view properties. Catalog or schema is used for restricting or filtering the
number of views that pertain to an individual schema name or catalog name that is defined as part
of the connection information.
Arguments
connName
connName 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.
Returns
An array of view objects where each object has three properties: catalog, schema, and view.