QueryProfile

enum QueryProfile : Enum<QueryProfile>

Controls how much query profiling information is included in the response metadata.

Access the returned info via QueryMetadata.profile.

Entries

TIMINGS
Link copied to clipboard

Besides the phase times, the profile section of the query response document will include a full query plan with timing and information about the number of processed documents at each phase.

PHASES
Link copied to clipboard

The query response includes a profile section with stats and details about various phases of the query plan and execution.

OFF
Link copied to clipboard
OFF()

No profiling information is added to the query response.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int