Skip to main content
Skip to main content

MongoDB dictionary source

Example of settings:

SOURCE(MONGODB(
    host 'localhost'
    port 27017
    user ''
    password ''
    db 'test'
    collection 'dictionary_source'
    options 'ssl=true'
))

Or using a URI:

SOURCE(MONGODB(
    uri 'mongodb://localhost:27017/clickhouse'
    collection 'dictionary_source'
))

Setting fields:

SettingDescription
hostThe MongoDB host.
portThe port on the MongoDB server.
userName of the MongoDB user.
passwordPassword of the MongoDB user.
dbName of the database.
collectionName of the collection.
optionsMongoDB connection string options. Optional.
uriURI for establishing the connection (alternative to individual host/port/db fields).

More information about the engine