ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Mongo​Exec

by aChatir ST3

A sublime text 3 plugin to execute mongodb commands

Details

  • 2017.09.11.17.44.32
  • github.​com
  • github.​com
  • 2 years ago
  • 5 hours ago
  • 5 years ago

Installs

  • Total 5K
  • Win 2K
  • OS X 1K
  • Linux 1K
Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9
Windows 0 2 1 2 0 0 0 0 2 1 2 1 1 4 1 0 0 2 2 1 1 3 4 1 1 0 0 0 0 0 0 1 0 1 2 1 0 1 1 0 1 0 0 2 2
OS X 0 1 0 0 0 0 0 1 0 3 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0 0 1 0 1
Linux 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 1 1 0 1 0 1 0 1 0 0 0 1 1 0 0 0 0 1 0 0 0 0 0 1 0 0

Readme

Source
raw.​githubusercontent.​com

MongoExec

A Plugin for running Mongo commands in Sublime Text.

Authors


  • Abdelaziz CHATIR

Usage:


Commands Available:


  1. [Ctrl+Alt+w] => List all databases.
  2. [Ctrl+w Ctrl+c] => List all collections.
  3. [Ctrl+w Ctrl+w] => Execute a selected querie.
  4. [Ctrl+w Ctrl+h] => List Queries history.
  5. [Ctrl+w Ctrl+q] => Execute a specific query.
  6. [Ctrl+w Ctrl+f] => Execute a specific file (js).
  7. [Ctrl+w Ctrl+v] => Execute a specefic view (from sublime even if not saved).

How to Install

Package Control (Recommended)

  1. Package Control: Install Package MongoExec
  2. Restart Sublime Text

Git

  1. Clone to your packages folder git clone git@github.com:aChatir/MongoExec.git
  2. Restart Sublime Text

Download

  1. Download this ZIP file
  2. Move to packages folder (In the **Sublime Text 3* menu → PreferencesBrowse Packages…)*
  3. Restart Sublime Text

Configuration


Settings

'Preferences' -> 'Package Settings' -> 'MongoExec'

{
    "mongo_exec.commands": {
        "mongo" : "/usr/bin/mongo"
    },
    "connections": {
        "Localhost": {
            "type"    : "mongo",
            "host"    : "localhost",
            "port"    : "27017",
            "username": "",
            "password": "",
            "databases": ""
        }
    }
}

Inspired and Based on SQLExec