Execute method (DominoQuery - Java)

Executes a query string passed in according to set parameters and returns a DocumentCollection.

Syntax

DocumentCollection execute ( String query ) throws NotesException

Parameters

String query

A string containing a DQL query.

Returned value

DocumentCollection

Usage

Returns results from a DQL query. The query is performed and a DocumentCollection is returned for use in all legal contexts. Some runtime errors are also possible and if they occur, their text will appear in the NotesException that is returned.

Language cross-reference

Execute method (NotesDominoQuery - LotusScript)