Child pages
  • DBDataSourceServer

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 ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryDefine a client connection for this server, you can configure this DB Server to create connections for this client that are configured by this JSConnection.Get the server where this server is a data model clone from.Get the server name.Returns an array with the names of all tables of this server.

functionservoy sDetail2100%height:30px2Methods DetailsdefineClientConnectionname

defineClientConnection()

dessIndent
Define a client connection for this server, you can configure this DB Server to create connections for this client that are configured by this JSConnection.
All interaction with the database will go over a connection coming from a specific client pool with that is created for tihs client.
Things like username,password or connection properties can be adjusted.
ret

Returns

sIndent DBDataSourceServer server
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowgetDataModelCloneFromname

getDataModelCloneFrom()

dessIndent
Get the server where this server is a data model clone from.
ret

Returns

sIndent DBDataSourceServer server
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getServerNamename

getServerName()

dessIndent
Get the server name.
ret

Returns

sIndent String server name
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getTableNamesname

getTableNames()

dessIndent
Returns an array with the names of all tables of this server.
ret

Returns

sIndent String[] server table names;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow