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

Take a safe string representation of a binary object from the database and convert it back to a binary object.

See Also

PgsqlConnection.binaryEscape

Syntax

Binary = PgsqlConnection.binaryUnEscape()

Parameters

The 'PgsqlConnection.binaryUnEscape' method takes no parameters

Results

The 'PgsqlConnection.binaryUnEscape' method returns Binary:

Type/Value Range/Length Description
Binary   A Binary object containing the un-escaped data from the input string.

Remarks

This method is the inverse PgsqlConnection.binaryEscape. taking the safe representation of binary data in the database and converting it back to the original binary data (eg an image of PDF document).

Note since more binary data to be stored in the database should be stored in a BYTEA column, this method is unlikely to be needed. Whtebeam automatically converts all data fields of type BYTEA to a Binary object in a result set.

This would be useful if for some reason binary data is stored in another textual field, say a VARCHAR field.

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