Biferno 1.7 Tabasoft.it

Application: ItaliaScuola Back-Office3
Reference
Admin | Edit | Reference | Cache | Logs
Click on a class name to see the description of that particular class:

Predefined Classes

ansi
array
biferno
boolean
cacheItem
char
classInfo
client
collection
curApp
curFile
curScript
db
double
error
file
folder
header
httpPage
imageUtils
int
long
memberInfo
multipart
object
ref
regexp
request
search
serverInfo
smtp
stackItem
string
time
unix
unsigned
 

Application Classes

Banner
BrowserBar
Ctrl_Form
FCKeditor
Form
GridChartGraph
Histogram
LocalDate
Result
condb
cookie
folderExt
headerExt
httpExt
mysqlFulltext
objHtml
requestExt
tableExport
utils
 

Functions

Functions

db

Method:

LobRead

string LobRead(int locator, int offset, int len)

Reads a portion of a LOB/FILE, as specified by the call, into a string.

Description:

This function can be used to read a portion (or all) of a LOB field.

Parameters:
locator

A LOB/FILE locator that uniquely references the LOB/FILE. This locator can be obtained calling the Fetch method with third parameter to true.

offset

The absolute offset from the beginning of the LOB value. For character LOBs (CLOBs, NCLOBs) it is the number of characters from the beginning of the LOB, for binary LOBs/FILEs it is the number of bytes. The first position is 1.

len

The length in bytes (or characters) to read from the LOB field..

Returns:

A string containing the LOB value.

Notes:

As of today only the oracle extension implements this method

Errors:

Example:

	cursID = mydb.Exec("select MYBLOB from MYTABLE")
	lobLocator = mydb.FetchRec(,,true)[1]
	$mydb.LobRead(lobLocator)

See also:

LobWrite, FetchRec

Implementation:
C
 

Return to the db class