MongoDB logo
  • Platform
    atlas_product_familyAtlasBuild and scale with an AI-ready platform
    Platform Services
    atlas_databaseDatabaseDeploy a multi-cloud databaseatlas_searchSearchDeliver engaging search experiencesmdb_vector_searchVector SearchDesign intelligent apps with gen AIatlas_stream_processingStream ProcessingIntegrate MongoDB and Kafka
    Self Managed
    enterprise_advanced_product familyEnterprise AdvancedRun and manage MongoDB yourselfcommunity_edition_product_familyCommunity EditionDevelop locally with MongoDB
    Tools
    mdb_compassCompassWork with MongoDB data in a GUIatlas_integrationIntegrationsIntegrations with third-party servicesmdb_migratorRelational MigratorMigrate to MongoDB with confidence
    View All ProductsExplore our full developer suitearrow-right
    MongoDB 8.0Our fastest version everarrow-right
    Build with MongoDB Atlas
    Get started for free in minutes
    Sign Up
    Test Enterprise Advanced
    Develop with MongoDB on-premises
    Download
    Try Community Edition
    Explore the latest version of MongoDB
    Download
  • Documentation
    Atlas DocumentationGet started using AtlasServer DocumentationLearn to use MongoDB
    Tools and ConnectorsLearn how to connect to MongoDBMongoDB DriversUse drivers and libraries for MongoDB
    Resources HubGet help building the next big thing with MongoDBarrow-right
    Connect
    general_events_ask_the_expertsCommunityJoin a global community of developersgeneral_content_tutorialCourses and CertificationLearn for free from MongoDBgeneral_events_sessionEvents and WebinarsFind an event or webinar near you
  • Use cases
    Artificial IntelligenceModernizationPaymentsServerless DevelopmentGamingIntelligent SearchEdge and Mobile
    Industries
    Financial ServicesTelecommunicationsHealthcareRetailPublic SectorManufacturing
    Solutions LibraryOrganized and tailored solutions to kick-start projectsarrow-right
    AI Applications Program
    Expedite your AI journey with expert guidance
    Learn morearrow-right
    Startups and AI Innovators
    For world-changing ideas and AI pioneers
    Learn morearrow-right
    Customer Case Studies
    Hear directly from our users
    See Storiesarrow-right
  • CareersStart your next adventureBlogRead articles and announcementsNewsroomRead press releases and news stories
    PartnersLearn about our partner ecosystemLeadershipMeet our executive teamCompanyLearn more about who we are
    Contact Us
    Reach out to MongoDB
    Connect with an expertarrow-right
    Investors
    Visit our investor portal
    Learn morearrow-right
  • Pricing
SupportSign In
Get Started
MongoDB logo
MongoDB logo
  • Platform
    atlas_product_familyAtlasBuild and scale with an AI-ready platform
    Platform Services
    atlas_databaseDatabaseDeploy a multi-cloud databaseatlas_searchSearchDeliver engaging search experiencesmdb_vector_searchVector SearchDesign intelligent apps with gen AIatlas_stream_processingStream ProcessingIntegrate MongoDB and Kafka
    Self Managed
    enterprise_advanced_product familyEnterprise AdvancedRun and manage MongoDB yourselfcommunity_edition_product_familyCommunity EditionDevelop locally with MongoDB
    Tools
    mdb_compassCompassWork with MongoDB data in a GUIatlas_integrationIntegrationsIntegrations with third-party servicesmdb_migratorRelational MigratorMigrate to MongoDB with confidence
    View All ProductsExplore our full developer suitearrow-right
    MongoDB 8.0Our fastest version everarrow-right
    Build with MongoDB Atlas
    Get started for free in minutes
    Sign Up
    Test Enterprise Advanced
    Develop with MongoDB on-premises
    Download
    Try Community Edition
    Explore the latest version of MongoDB
    Download
  • Documentation
    Atlas DocumentationGet started using AtlasServer DocumentationLearn to use MongoDB
    Tools and ConnectorsLearn how to connect to MongoDBMongoDB DriversUse drivers and libraries for MongoDB
    Resources HubGet help building the next big thing with MongoDBarrow-right
    Connect
    general_events_ask_the_expertsCommunityJoin a global community of developersgeneral_content_tutorialCourses and CertificationLearn for free from MongoDBgeneral_events_sessionEvents and WebinarsFind an event or webinar near you
  • Use cases
    Artificial IntelligenceModernizationPaymentsServerless DevelopmentGamingIntelligent SearchEdge and Mobile
    Industries
    Financial ServicesTelecommunicationsHealthcareRetailPublic SectorManufacturing
    Solutions LibraryOrganized and tailored solutions to kick-start projectsarrow-right
    AI Applications Program
    Expedite your AI journey with expert guidance
    Learn morearrow-right
    Startups and AI Innovators
    For world-changing ideas and AI pioneers
    Learn morearrow-right
    Customer Case Studies
    Hear directly from our users
    See Storiesarrow-right
  • CareersStart your next adventureBlogRead articles and announcementsNewsroomRead press releases and news stories
    PartnersLearn about our partner ecosystemLeadershipMeet our executive teamCompanyLearn more about who we are
    Contact Us
    Reach out to MongoDB
    Connect with an expertarrow-right
    Investors
    Visit our investor portal
    Learn morearrow-right
  • Pricing
SupportSign In
Get Started
MongoDB logo
  • Docs Home
  • Back to Client Libraries
  • Kotlin Coroutine
    • Overview
    • Quick Start
    • Quick Reference
    • What's New
    • Usage Examples
    • Fundamentals
    • Connection Guide
    • Authentication
    • Enterprise Authentication
    • Stable API
    • Databases & Collections
    • Data Formats
    • CRUD Operations
    • Builders
    • Aggregation
    • Aggregation Expressions
    • Indexes
    • Transactions
    • Collations
    • Logging
    • Monitoring
    • Time Series Collections
    • In-Use Encryption
    • API Documentation
    • FAQ
    • Connection Troubleshooting
    • Issues & Help
    • Compatibility
    • Migrate from KMongo
    • Validate Driver Signatures
    • View the Source
    • Docs Home
    • Get Started
    • Development
    • Management
    • Client Libraries
    • Tools
    • Atlas Architecture Center
    • Back to Client Libraries
    • Kotlin Coroutine
      • Overview
      • Quick Start
      • Quick Reference
      • What's New
      • Usage Examples
      • Fundamentals
      • Connection Guide
      • Authentication
      • Enterprise Authentication
      • Stable API
      • Databases & Collections
      • Data Formats
      • CRUD Operations
      • Builders
      • Aggregation
      • Aggregation Expressions
      • Indexes
      • Transactions
      • Collations
      • Logging
      • Monitoring
      • Time Series Collections
      • In-Use Encryption
      • API Documentation
      • FAQ
      • Connection Troubleshooting
      • Issues & Help
      • Compatibility
      • Migrate from KMongo
      • Validate Driver Signatures
      • View the Source
      Docs Menu
      Docs Home
      / /
      Kotlin Coroutine Driver
      Docs Home
      /
      Client Libraries
      /
      Kotlin
      /
      Kotlin Coroutine Driver
      Docs Home
      /
      Client Libraries
      /
      Kotlin
      /
      Kotlin Coroutine Driver

      Fundamentals

      Learn how to perform the following tasks using the Kotlin driver in the Fundamentals section:

      • Connect to MongoDB

      • Use the Stable API

      • Authenticate with MongoDB

      • Convert between MongoDB Data Formats and Kotlin Objects

      • Read from and Write to MongoDB

      • Simplify your Code with Builders

      • Transform your Data

      • Create Aggregation Expressions

      • Create Indexes to Speed Up Queries

      • Sort Using Collations

      • Log Events in the Driver

      • Monitor Driver Events

      • Use a Time Series Collection

      • Encrypt Fields in a Document

      Back

      Run a Command

      Next

      Connection Guide