isDesignDocumentsOnly method (DominoQuery - Java)
Returns the current value of the DominoQuery property DesignDocumentsOnly. If true, only design documents will be searched instead of data documents when execute() or explain() is called. Default value is false.
Defined in
Syntax
public boolean isDesignDocumentsOnly()throws NotesException
Parameters
None
Returned value
Boolean DesignDocumentsOnly
Usage
Use this method to check the current value of the DesignDocumentsOnly property in a DominoQuery instance. If true, then only design documents will be searched; if false, then only data documents will be 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
DesignDocumentsOnly property (NotesDominoQuery - LotusScript)