Child pages
  • Relation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Property SummaryFlag that tells if related records can be created through this relation.Flag that tells if the parent record can be deleted while it has related records.Flag that tells if related records should be deleted or not when a parent record is deleted.Gets the deprecate info for this elementThe encapsulation mode of this Relation.Qualified name of the foreign data source.A String which specified a set of sort options for the initial sorting of data retrieved through this relation.The join type that is performed between the primary table and the foreign table.The name of the relation.Qualified name of the primary data source.

propertyservoy sDetail2100%height:30px2Property DetailsallowCreationRelatedRecordsname

allowCreationRelatedRecords

dessIndent
Flag that tells if related records can be created through this relation.

The default value of this flag is "false".
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowallowParentDeleteWhenHavingRelatedRecordsname

allowParentDeleteWhenHavingRelatedRecords

dessIndent
Flag that tells if the parent record can be deleted while it has related records.

The default value of this flag is "true".
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
deleteRelatedRecordsname

deleteRelatedRecords

dessIndent
Flag that tells if related records should be deleted or not when a parent record is deleted.

The default value of this flag is "false".
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
deprecatedname

deprecated

dessIndent
Gets the deprecate info for this element
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
encapsulationname

encapsulation

dessIndent
The encapsulation mode of this Relation. The following can be used/checked:

- Public (not a separate option - if none of the below options are selected)
- Hide in scripting; Module Scope - not available in scripting from any other context except the form itself. Available in designer for the same module.
- Module Scope - available in both scripting and designer but only in the same module.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
foreignDataSourcename

foreignDataSource

dessIndent
Qualified name of the foreign data source. Contains both the name of the foreign
server and the name of the foreign table.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
initialSortname

initialSort

dessIndent
A String which specified a set of sort options for the initial sorting of data
retrieved through this relation.

Has the form "column_name asc, another_column_name desc, ...".
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
joinTypename

joinType

dessIndent
The join type that is performed between the primary table and the foreign table.
Can be "inner join" or "left outer join".
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
namename

name

dessIndent
The name of the relation.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
primaryDataSourcename

primaryDataSource

dessIndent
Qualified name of the primary data source. Contains both the name of the primary server
and the name of the primary table.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow