AskSQL API Reference (core v0.10.0)
    Preparing search index...

    Interface MongodbConnectorConfig

    interface MongodbConnectorConfig {
        authSource?: string;
        connectionString: string;
        database: string;
        id: string;
        name: string;
        password?: string;
        sampleColumnValues?: boolean;
        user?: string;
    }
    Index
    authSource?: string

    Auth database for separate user/password. Defaults to admin (root/Atlas users live there), not the query database.

    connectionString: string

    Connection string, e.g. mongodb://host/ or mongodb+srv://cluster/.

    database: string

    Database to introspect and query. Required - names the DB, not a default.

    id: string
    name: string
    password?: string
    sampleColumnValues?: boolean

    Opt-in: attach distinct example values to low-cardinality fields during introspection, so the model sees real codes.

    user?: string