Compass

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Configurable sample size in schema analyzer

    Sometimes larger or smaller sampling sizes (default is 1000) are desired since queries are taking too long or the sample size is not statistically useful.

    Could be a part of progressive loading/sampling.

    7 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Schema Analysis  ·  Flag idea as inappropriate…  ·  Admin →
  2. Schema analysis should recognize dictionaries

    In a sub-document, the keys may be common across most documents in the collection, or they may contain a set of random values. For example, using hostnames as the keys in the "hosts" sub-document.

    {
    
    ...
    hosts: {
    server1a: { ... }
    server2a: { ... }
    server3a: { ... }
    }
    }
    {
    ...
    hosts: {
    server1b: { ... }
    server2b: { ... }
    server3b: { ... }
    }
    }

    The schema analysis should recognize the above situation to avoid creating thousands of sub-fields in the schema.

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Schema Analysis  ·  Flag idea as inappropriate…  ·  Admin →
  3. Generate jsonSchema Validation Based on Schema Analysis

    Since Compass already provides a schema analysis, it would be useful if that analysis could be used generate jsonSchema. The result could be a starting point for the Validation tab or used in other tools such as https://hamidihamza.com/Angular6-json-schema-form/.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Schema Analysis  ·  Flag idea as inappropriate…  ·  Admin →
  4. The JSON Schema export should be producing a jsonschema file that can be used immediately with schema validation

    It currently dumps a bunch of analysis information even though the menu item is "Share Schema as JSON". This file is useless for trying to harden or define a schema, even in non-mongodb tools (like validating documents match schema in our programs).

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Schema Analysis  ·  Flag idea as inappropriate…  ·  Admin →
  5. Export schema analysis for documentation

    Users should be able to export the results of the schema analysis such that they can use it as a part of their documentation.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Schema Analysis  ·  Flag idea as inappropriate…  ·  Admin →
  6. Sync Database Schema & Collection Schema

    To efficiently work in a development environment and then apply changes to the database changes, something like diff between development (source) and production (target) database, there has to be a feature of synchronising Schema only (without data) with optional opt in for Data as well. It should be bi directional. While synchronising Collections, Schema validation should also be allowed to synchronise apart from indexes. All these options should be allowed to select or de select with proper warnings.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Schema Analysis  ·  Flag idea as inappropriate…  ·  Admin →
  7. Display GeoJSON types other than points in Schema Map view

    I have a data set which contains both GeoJSON polygons and GeoJSON LinesStrings.  It would be really useful to be able to see these rendered in the map view in the Schema tab.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Schema Analysis  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base