QueryMetaData
interface QueryMetaData (View source)
Interface for retrieving metadata such as errors and metrics generated during N1QL queries.
Methods
Returns the query execution status
Returns the identifier associated with the query
Returns the client context id associated with the query
Returns the signature of the query
Returns any warnings generated during query execution
Returns any errors generated during query execution
Returns metrics generated during query execution such as timings and counts
Returns the profile of the query if enabled
Details
string|null
status()
Returns the query execution status
string|null
requestId()
Returns the identifier associated with the query
string|null
clientContextId()
Returns the client context id associated with the query
array|null
signature()
Returns the signature of the query
array|null
warnings()
Returns any warnings generated during query execution
array|null
errors()
Returns any errors generated during query execution
array|null
metrics()
Returns metrics generated during query execution such as timings and counts
array|null
profile()
Returns the profile of the query if enabled