|
Whitebeam Object Definition
|
Method Description
PgsqlConnection.exec()
Execute SQL on an open database and return a result object
See Also
PgsqlConnection PgsqlResult
Syntax
PgsqlResult = PgsqlConnection.exec(sql)
Parameters
The 'PgsqlConnection.exec' method takes 1 parameter:
Name | Type/Value | Range/Length | Description | sql | string | | |
Results
The 'PgsqlConnection.exec' method returns PgsqlResult:
Type/Value | Range/Length | Description |
PgsqlResult |
  |
A 'PgsqlResult' object that can be used to extract the results of the SQL operation
|
Remarks Run SQL statements against an open SQL database. The string parameter can contain a whole sequence of SQL statements, but
note that the result object only represents the results of the last statement. If the database is not open (no call to connect
or the call failed) then this method will throw a catachable exception. |
|
(loadtime : 11ms) |