Overview

RavenDB is a high-performance, ACID-compliant NoSQL document database designed for modern applications. Key advantages include:

  • ACID transactions: Full transactional support across multiple documents and collections
  • RQL query language: SQL-like query syntax specifically designed for document databases
  • Built-in indexing: Automatic and manual indexes with full-text search capabilities
  • Multi-model support: Documents, time series, counters, and attachments in a single database
  • High availability: Distributed architecture with automatic failover and replication

RavenDB excels at handling complex data models with its flexible document structure while maintaining strong consistency guarantees, making it ideal for enterprise applications, content management, and real-time systems.

Connecting

To connect to RavenDB in DBCode:

  1. Open the DBCode Extension: Launch Visual Studio Code and open the DBCode extension.
  2. Add a New Connection: Click on the “Add Connection” icon.
  3. Complete connection form: Select RavenDB as the database type and enter:
    • Host and port (default port is 8080)
    • Database name
    • Authentication method (None for development, Certificate for production)
    • SSL/TLS settings (if required)
  4. Connect: Click save to establish your connection.
  5. Start Managing Your Data: Explore databases, collections, and documents.

For detailed instructions on connecting to RavenDB, refer to the Connect article.

RavenDB Features in DBCode

DBCode enhances your RavenDB development experience with:

  • RQL editor: Write and execute RQL queries with auto-completion and syntax highlighting
  • Document browser: Navigate and edit JSON documents in collections
  • Index management: View auto-generated and manual indexes
  • Query cancellation: Cancel long-running queries when needed

By using RavenDB with DBCode, you can efficiently develop and manage your document databases directly within Visual Studio Code.

For more information about RavenDB, check out RavenDB.