Database

Methods

(inner) addDatabase()

Adds the specified database icon to the user's workspace, without opening the database.

Throws:

no plans to implement

Type
Error

(inner) addDatabaseRepID()

Adds an icon to the desktop for the database specified by its replica ID.

Throws:

no plans to implement

Type
Error

(inner) databaseDelete()

Permanently deletes the current database file from the hard disk where it is stored.

Throws:

no plans to implement

Type
Error

(inner) databaseReplSettings()

Displays the Replication Settings dialog box for the current database.

Throws:

no plans to implement

Type
Error

(inner) dAverage(database, field, criteria) → {number}

Finds the average of values in a given field from the records (rows) in a database that match a search criteria.

Parameters:
NameTypeDescription
databaseArray

Range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.

fieldstring

Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.

criteriaArray

Range of values that contains the conditions you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.

See
Returns:

Average of the field's values from call to OpenFormula DAVERAGE function

Type: 
number

(inner) dB2Schema(any)

Given the name of a database as a text string, returns a text string containing the DB2® schema of that database if it is a db2nsf database or the empty string if it is not a db2nsf database.

Parameters:
NameTypeDescription
anyArray

arguments

Throws:

No plans to implement

Type
Error

(inner) dbColumn(cache, serverDatabase, viewName, column)

Returns a column of values from a view or folder in a Domino® database.

Parameters:
NameTypeDefaultDescription
cache*
serverDatabase*
viewNamestring
columnnumber1
See
Returns:

Promise

(inner) dbCommand(any)

Accesses view and folder information from a Domino® database in Web applications.

Parameters:
NameTypeDescription
anyArray

arguments

Throws:

No plans to implement

Type
Error

(inner) dbExists(any)

Given a server and file name, or replica ID, indicates whether the specified database exists.

Parameters:
NameTypeDescription
anyArray

arguments

Throws:

No plans to implement

Type
Error

(inner) dbLookup(cache, serverDatabase, viewName, key, field)

Given a key value, looks in the specified view (or folder) and finds all documents containing the key value within the view.

Parameters:
NameTypeDescription
cache*
serverDatabase*
viewNamestring
keystring
field*
See
Returns:

Promise

(inner) dbManager(any)

Returns a list of users, groups, and servers who currently have Manager access to the database. In a window title formula, only the name of the first manager listed in the ACL is displayed.

@DbManager does not work in selection formulas or column formulas.

Parameters:
NameTypeDescription
anyArray

arguments

Throws:

No plans to implement

Type
Error

(inner) dbName(any)

Returns the name of the current Domino® server and database.

Parameters:
NameTypeDescription
anyArray

arguments

Throws:

No plans to implement

Type
Error

(inner) dbTitle(any)

Returns the title of the current database.

Parameters:
NameTypeDescription
anyArray

arguments

Throws:

No plans to implement

Type
Error

(inner) dCount(database, field, criteria) → {number}

Counts the number of records (rows) in a database that match a search criteria and contain numerical values.

Parameters:
NameTypeDescription
databaseArray

The database

fieldstring

The field

criteriaArray

The criteria

See
Returns:

Count of records matching search criteria from call to OpenFormula DCOUNT function

Type: 
number

(inner) dCountA(database, field, criteria) → {number}

Counts the number of records (rows) in a database that match a search criteria and contain values (as COUNTA).

Parameters:
NameTypeDescription
databaseArray

The database

fieldstring

The field

criteriaArray

The criteria

See
Returns:

Count of records matching search criteria from call to OpenFormula DCOUNTA function

Type: 
number

(inner) dGet(database, field, criteria) → {number}

Get the single value in the field from the single record (row) in a database that matches a search criteria.

Parameters:
NameTypeDescription
databaseArray

The database

fieldstring

The field

criteriaArray

The criteria

See
Returns:

Value in field matching search criteria from call to OpenFormula DGET function

Type: 
number

(inner) dMax(database, field, criteria) → {number}

Finds the maximum value in a given field from the records (rows) in a database that match a search criteria.

Parameters:
NameTypeDescription
databaseArray

The database

fieldstring

The field

criteriaArray

The criteria

See
Returns:

Maximum value of the field's values matching search criteria from call to OpenFormula DMAX function

Type: 
number

(inner) dMin(database, field, criteria) → {number}

Finds the minimum value in a given field from the records (rows) in a database that match a search criteria.

Parameters:
NameTypeDescription
databaseArray

The database

fieldstring

The field

criteriaArray

The criteria

See
Returns:

Minimum value of the field's values matching search criteria from call to OpenFormula DMIN function

Type: 
number

(inner) dProduct(database, field, criteria) → {number}

Finds the product of values in a given field from the records (rows) in a database that match a search criteria.

Parameters:
NameTypeDescription
databaseArray

The database

fieldstring

The field

criteriaArray

The criteria

See
Returns:

Product of the field's values matching search criteriain field records matching search criteria from call to OpenFormula DPRODUCT function

Type: 
number

(inner) dstDev(database, field, criteria) → {number}

Finds the sample standard deviation in a given field from the records (rows) in a database that match a search criteria.

Parameters:
NameTypeDescription
databaseArray

The database

fieldstring

The field

criteriaArray

The criteria

See
Returns:

Sample standard deviation of the field's values matching search criteria from call to OpenFormula DSTDEV function

Type: 
number

(inner) dstDevP(database, field, criteria) → {number}

Finds the population standard deviation in a given field from the records (rows) in a database that match a search criteria.

Parameters:
NameTypeDescription
databaseArray

The database

fieldstring

The field

criteriaArray

The criteria

See
Returns:

Population standard deviation of the field's values matching search criteria from call to OpenFormula DSTDEVP function

Type: 
number

(inner) dSum(database, field, criteria) → {number}

Finds the sum of values in a given field from the records (rows) in a database that match a search criteria.

Parameters:
NameTypeDescription
databaseArray

The database

fieldstring

The field

criteriaArray

The criteria

See
Returns:

Sum of the field's values matching search criteria from call to OpenFormula DSUM function

Type: 
number

(inner) dVar(catabase, field, criteria) → {number}

Finds the sample variance in a given field from the records (rows) in a database that match a search criteria.

Parameters:
NameTypeDescription
catabaseArray

The database

fieldstring

The field

criteriaArray

The criteria

See
Returns:

Sample variance of the field's values matching search criteria from call to OpenFormula DVAR function

Type: 
number

(inner) dVarP(database, field, criteria) → {number}

Finds the population variance in a given field from the records (rows) in a database that match a search criteria.

Parameters:
NameTypeDescription
databaseArray

The database

fieldstring

The field

criteriaArray

The criteria

See
Returns:

Population variance of the field's values matching search criteria from call to OpenFormula DVARP function

Type: 
number

(inner) getDocField(documentUNID, fieldName) → {*}

Given the unique ID of a document, returns the contents of a specific field on that document. The document must reside in the current database.

Parameters:
NameTypeDescription
documentUNIDstring
fieldNamestring
See
Returns:

fieldValue

Type: 
*

(inner) getProfileField(any)

Retrieves a field from a profile document, and caches the field value for the remainder of the session.

Parameters:
NameTypeDescription
anyArray

arguments

Throws:

No plans to implement

Type
Error

(inner) isDB2() → {boolean}

Given a server and filename or server and replica ID, indicates if the specified database is backed by DB2® or not.

Throws:

No plans to implement

Type
Error
Returns:
Type: 
boolean

(inner) isExpandable() → {string}

In column formulas, returns a specified string if a row in a view can be expanded.

Throws:

No plans to implement

Type
Error
Returns:
Type: 
string

(inner) publishDatabase()

Displays the Publish Database dialog box, where the user selects a library in which to publish the selected database.

Throws:

no plans to implement

Type
Error

(inner) renameDatabase()

For a particular database on the user's workspace, RenameDatabase locates a replica of that database (based on its replica ID) on the specified server, and replaces the database icon with that of the replica. The only change the user sees is that the server name has changed on the database icon.

Throws:

no plans to implement

Type
Error

(inner) replicaID() → {string}

Returns the replica ID of the current database.

Throws:

No plans to implement

Type
Error
Returns:
Type: 
string

(inner) serverName() → {string}

Returns the name of the server containing the current database. When the database is local, returns the user name.

Throws:

No plans to implement

Type
Error
Returns:
Type: 
string

(inner) setDocField(documentUNID, fieldName, fieldValue)

Given the unique ID of a document, sets the value of a specific field on that document. The document must reside in the current database.

Parameters:
NameTypeDescription
documentUNIDstring

The unique ID of a document.

fieldNamestring

The name of a field in the current document.

fieldValue*

The value to set the field.

See

(inner) setProfileField() → {*}

Sets the value of a field in a profile document or creates a profile document.

Throws:

No plans to implement

Type
Error
Returns:
Type: 
*

(inner) switchView()

Switches to the specified view or folder within the current database or, if a view or folder is not specified, displays the View menu so the user can select a view.

Throws:

no plans to implement

Type
Error

(inner) viewTitle() → {string|Array.<string>}

Returns the current view's name. If there are aliases and synonyms, they are returned in a text list.

Throws:

No plans to implement

Type
Error
Returns:
Type: 
string | Array.<string>

(inner) webDbName() → {string}

Returns the name of the current database encoded for URL inclusion.

Throws:

No plans to implement

Type
Error
Returns:
Type: 
string