Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

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
sqlstring 

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.

Whitebeam release 1.3.36
(loadtime : 25ms)