atDbName (DataService - JavaScript)

Read-only. This method is intended to be used as a substitute for the @DbName() at-function. @DbName() and atDbName() are commonly used with the @DbLookup and @DbColumn at-functions.

Defined in

DataService

Syntax

atDbName() : Vector<String>

Usage

If you write to the DataService object, this method returns the specified information.

The value returned by atDbName() is a java.util.Vector. It contains 2 Strings. The first string atDbName().get(0) is the same as the value returned by the getHost() DataService method. The second string atDbName().get(1) is the same as the value returned by the getAppPath() method. That format of a vector containing the server name and the database name is the format returned by @DbName().

Language cross-reference

atDbName method in Java DataService class.