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.escape()

Replace unsafe SQL characters with safe equivalents

Syntax

string = PgsqlConnection.escape(strToEscape)

Parameters

The 'PgsqlConnection.escape' method takes 1 parameter:

Name Type/Value Range/Length Description
strToEscapestring  Required. The string to be safely escaped

Results

The 'PgsqlConnection.escape' method returns string:

Type/Value Range/Length Description
string   A modified version of the input string that has all unsafe SQL characters correctly escaped.

Remarks

Take a string and Postres (SQL) escape the content, returning the modified content to the caller.

This is a class method - don't call aConnection.escape(), instead call PgsqlConnection.escape().
Whitebeam release 1.3.36
(loadtime : 19ms)