How to use the mongodb-ace-autocompleter.StageAutoCompleter function in mongodb-ace-autocompleter

To help you get started, we’ve selected a few mongodb-ace-autocompleter examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mongodb-js / compass-aggregations / src / components / stage-editor / stage-editor.jsx View on Github external
constructor(props) {
    super(props);
    const textCompleter = tools.textCompleter;
    this.completer = new StageAutoCompleter(
      this.props.serverVersion,
      textCompleter,
      this.getFieldsAndProjections(),
      this.props.stageOperator
    );
    this.debounceRun = debounce(this.onRunStage, 750);
  }

mongodb-ace-autocompleter

Ace Editor Autocompleter for MongoDB Queries & Agg Pipelines

Apache-2.0
Latest version published 3 years ago

Package Health Score

45 / 100
Full package analysis