Structure: dbstructure

Object Description:

A user structure definition providing a data mapping to an external database.

Creation Command:

dbstructure command

Permitted Scope:

application

Array Capability:

No

Membership Potential:

None

Graphic Primitive Capability:

No

User Function Capability:

No

 

Generic Elements

.access

-

string

Access rights

.class

*

string

Identifier class (command)

.create

-

callback

Object create procedure

.delete

-

callback

Object destruct procedure

.desc

-

string

Description

.elements

*

string[ ]

Structure element names

.etypes

*

string[ ]

Structure element types

.extend

*

procedure

Add static members

.num_elements

*

numeric

Structure element count (database defined)

.owner

*

string

Owner user-id

.time

-

time

Modification time

.type

*

string

Identifier type (dbstructure)

.variant

*

string

Identifier variant (identifier)

* = Read only element.

 

Database Elements

.database

*

string

External database name (a string)

.distinct

*

numeric

Whether to eliminate duplicate rows

.key_member

*

string

Member of a parent structure whose value is to be used for the key lookup.

.table

*

string

Table name within the external database

* = Read only element.

 

Structure Elements

Derived automatically from the external database table. Permitted element type are numeric, string or time.