Namespace: Consultingwerk.Util.Support
Class 
DatabaseQueryResultTempTableFactory Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:DatabaseQueryResultTempTableFactory
Purpose:Factory for the resultset temp-table of the QueryHelper:ExecuteQuery
method
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Apr 11 13:24:32 CEST 2020
Purpose: Returns the field mapping for the buffers
Notes:



Top Method Summary
Options Name Purpose
+ HANDLE BuildResultsetTempTable (handle[], character) Builds the resultset temp-table
+ HANDLE BuildResultsetTempTableWithFields (handle[], character) Builds the resultset temp-table with the fields specifier
+ HANDLE BuildResultsetTempTableWithoutFields (handle[]) Builds the resultset temp-table without the fields specifier
# CHARACTER UniqueFieldName (character, character) Returns a unique field name based on the given field name

Top Property Summary
Options Name Purpose
+ CHARACTER FieldMapping


Method Detail
Top

PUBLIC HANDLE BuildResultsetTempTable (handle[], character)

Purpose: Builds the resultset temp-table
Notes:

Parameters:
phBuffer HANDLE
The array of Buffer handles
pcFields CHARACTER
The list of result fields, empty for all fields
Returns HANDLE
The handle of the resultset temp-table
Top

PUBLIC HANDLE BuildResultsetTempTableWithFields (handle[], character)

Purpose: Builds the resultset temp-table with the fields specifier
Notes:

Parameters:
phBuffer HANDLE
The array of Buffer handles
pcFields CHARACTER
The list of result fields, empty for all fields
Returns HANDLE
The handle of the resultset temp-table
Top

PUBLIC HANDLE BuildResultsetTempTableWithoutFields (handle[])

Purpose: Builds the resultset temp-table without the fields specifier
Notes:

Parameters:
phBuffer HANDLE
The array of Buffer handles
Returns HANDLE
The handle of the resultset temp-table
Top

PROTECTED CHARACTER UniqueFieldName (character, character)

Purpose: Returns a unique field name based on the given field name
Notes:

Parameters:
pcFieldName CHARACTER
The base field name
pcFields CHARACTER
The list of existing field names
Returns CHARACTER
The unique field name


Property Detail
Top

PUBLIC CHARACTER FieldMapping


Returns CHARACTER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:17:02