DesignDocumentsOnly Property (NotesDominoQuery - LotusScript)

Specifies if the execute() and explain() methods should only search for design documents. If set to true, then only design documents will be searched for; if set to false, then only data documents are searched like normal. Default value is False.

Defined in

NotesDominoQuery (LotusScript)

Data type

Boolean

Syntax

Where dquery is a type NotesDominoQuery variable

To get:
Dim bDesignDocOnly as Boolean
       bDesignDocOnly = dquery.DesignDocumentsOnly
To set:
 dquery.DesignDocumentsOnly = True

Legal values

True or False

Usage

Use this property to control whether or not the execute() and explain() methods should limit their search to only design documents. If set to true, then only design documents are searched; if set to false, then data documents are searched, like normal.

Note: DQL cannot perform design document searches if any of the following query terms are used:

  • IN [ALL] (‘View, folder, or foundset name’)
  • CONTAINS
  • ‘View or folder name’.Column
  • @All
If any of these terms are used while the DesignDocumentsOnly property is set to true, then the exception,
Query is not understandable
will be thrown during the call to execute() or explain().

Language cross-reference

isDesignDocumentsOnly method (DominoQuery - Java)

setDesignDocumentsOnly method (DominoQuery - Java)