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

PgsqlConnection.connectionDesc

Connection parameters for Postgres databases. An object with the followingg attributes must be passed to either connect or pconnect methods to attach to a database.

Details of how to us the Whtebeam Postgres interface can be found in our tutorial dealing with this specific topic.

Elements

The PgsqlConnection.connectionDesc struct has 6 elements:

Name Type/Value Range/Length Description
userstring  Required. Username with which to connect to the server
passwordstring  Required. Password to use for the user
dbnamestring  Required. Name of the database to open
hoststring  Optional, default = localhost
Name or IP address of the machine to which to connect
connect_timeoutstring  Optional. Number of seconds to wait before aborting connection attempt
sslmodestring  Optional. disable, allow, prefer, require. This parameter is defined by Postgres, refer to Postgres documentation for how to use.

Whitebeam release 1.3.36
(loadtime : 9ms)