DatabaseQuery

Parent Previous Next

Data_Access / DatabaseActors
Block Name: DatabaseQuery

Code File Location: VisualSim/actor/lib/database/DatabaseQuery

Description

Issue a database query via the specified database manager. The output is an array of records, one for each row in the returned result.


Parameter

Explanation

Type

Example

databaseManager

Name of the DatabaseManager to use. This defaults to "DatabaseManager".



query

An SQL query. This is a string that defaults to "trim(room)='545Q' and trim(bldg)='Cory'", indicating that the retrieved records should have "Cory" in the bldg column and "545Q" in the room column.





Port

Explanation

Type

trigger

The input port.

unknown

query

The input port.

unknown

output

The output port.

unknown





 

Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator