Interface CursorExtras

Additional information about the cursor.

interface CursorExtras {
    plan?: Record<string, any>;
    profile?: Record<string, number>;
    stats?: CursorStats;
    warnings: {
        code: number;
        message: string;
    }[];
}

Properties

plan?: Record<string, any>

Query execution plan for the executed query.

profile?: Record<string, number>

Additional profiling information for the executed query.

stats?: CursorStats

Additional statistics about the query execution.

warnings: {
    code: number;
    message: string;
}[]

Warnings encountered while executing the query.

Type declaration

  • code: number
  • message: string