WebDB
Links
  • πŸ‘‹Welcome to WebDB Documentation
  • Installation
    • 1️⃣Standalone
    • πŸ”’Compose
    • ☸️K8S
    • πŸ–₯️Native
    • πŸ›‘οΈSecurity
    • ❌Uninstall
  • Connection
    • DBMS Discovery
    • Credentials Guessing
    • SSH Tunnel
  • Database
  • Interface
    • Schema
    • Database
    • Table
    • Relations
    • Structure
    • Offline
    • Symbols
    • Configuration
  • Explore
    • Explore
    • Search
    • Update
    • Batch Update
  • Query
    • Editor
      • Autocomplete
  • Structure
    • NoSQL inferring limitation
  • Insert
    • Generator
    • Framework embed
    • Foreign Key / Enum
    • Autocomplete
    • Error
  • Monitoring
    • Stats
    • Process List
  • Time machine
  • Compare
  • Blob
  • Encoding / Collation
  • Complexes
  • Backend
    • Configuration
    • Data storage
    • Docker container
  • Compatibility
  • More
    • Offline
    • Business Model
    • Alternatives
Powered by GitBook
On this page
  • Type inferring
  • Structure inferring
  • AI syntax

Was this helpful?

  1. Structure

NoSQL inferring limitation

PreviousStructureNextInsert

Last updated 1 year ago

Was this helpful?

Type inferring

Arrays and Object shown in structure page of NoSQL server are the unique possibilities inferred from samples

So if you see a Array, eg :

It means that "video_embeds" is a Array of object and the only deep structure found is a "description" and "embed_code"

If you get a Object, eg

it means that 3 deep structure are possible for "ipo" property

Structure inferring

Since it's not possible to know exactly the structure of NoSQL databases, WebDB use a sample of document to infer columns

Even with 1000 sample per collections, WebDB cannot ensure that the structure is 100% accurate Consider adapting "Sample Size" in configuration

AI syntax

Assistant respond always with MongoDB Shell syntax, but WebDB use Node.JS syntax. Just remember to:

  • change the db.collectionName. to db.collection("collectionName")

  • add .toArray() at the end of commands