@storehouse/mongoose - v4.0.0
    Preparing search index...

    Interface MongooseHealthCheckResult

    interface MongooseHealthCheckResult {
        details: {
            databaseName?: string;
            host?: string;
            latency?: string;
            modelCount?: number;
            models?: string[];
            name: string;
            port?: number;
            readyState?: string | number;
            [key: string]: unknown;
        };
        healthy: boolean;
        latency?: number;
        message?: string;
        timestamp: number;
    }

    Hierarchy

    • HealthCheckResult
      • MongooseHealthCheckResult
    Index

    Properties

    details: {
        databaseName?: string;
        host?: string;
        latency?: string;
        modelCount?: number;
        models?: string[];
        name: string;
        port?: number;
        readyState?: string | number;
        [key: string]: unknown;
    }

    Additional diagnostic information

    healthy: boolean

    Whether the connection is healthy

    latency?: number

    Response time in milliseconds

    message?: string

    Human-readable status message

    timestamp: number

    Unix timestamp when the check was performed