Giter VIP home page Giter VIP logo

arangodb-view's Introduction

ArangoDB-view

for the impatient

ArangoDB-view is a poc webinterface for ArangoDB. Its based on a flex design.

features

  • actually displays right converted bytes (1000 B = 1 KB)
  • always to your left, collections overview (can be hidden)
  • always to your top, basic infos / stats
  • show all available updates
  • open links in a new tab
  • easily create rules that filter and sort documents
  • pagination is saved when you edit a document and return to documents overview
  • next / prev document while in single document view
  • management collections / edges
    • reload collection properties and indexes on demand
    • navigate to documents
    • load / unload
    • truncate
    • rotate journal
    • change journal size in MiB and MB
    • change waitForSync
    • change indexBuckets
    • rename collection
    • create new collections specify
      • name
      • type
      • wait for sync y/n
      • volatile y/n
      • system collection y/n
      • compaction y/n
      • journal size in MiB and MB
      • index buckets
    • delete collections
  • run AQL queries
  • execute queries while you type them, with a timeout or when you leave the AQL-editor
  • save created queries via name: tag
  • configure how many docs are teturned; from 1 to n, without restrictions
  • display results as json or table
  • show query run time and http time
  • copy result as CSV to clipboard

whats next?

  • link _from / _to
  • delete / add documents
  • query log
  • authentication
  • manage indexes
  • manage databases

interfacescreenshot

interfacescreenshot documents overview

interfacescreenshot documents overview with hidden collectionsbar

interfacescreenshot sort documents desc

interfacescreenshot show documents with _key < 110 and sort documents asc

interfacescreenshot editing json in object mode

interfacescreenshot editing json in code mode

interfacescreenshot disabled save / view change due to error

interfacescreenshot show available version for update

interfacescreenshot create new collection

interfacescreenshot manage a collection

install

mount point

for now the mount point must be /view.

filter/sort documents

create a new filter/sort rule

First select the none rule and change // none to your rule name. You may have to klick on the direct left button from the rule selection to reveal the rule input field. Now you can edit your rule as native AQL statements. The current document can be accessed via doc. Let's create a rule that filters all _key smaller than 10.

01: // filter ._key < 10
02: filter to_number(doc._key) < 10

Line 1 is the name of the rule Line 2 is the AQL statement that will filter all _keys samller 10. Note the conversion to a number first. After a short timeout your new rule is automatically saved and applied to the documents overview. When you click outside from the input field the edited rule is also saved and applied.

edit filter/sort rule

To edit a rule just type the new rule into the rule input field. The rule is automatically save and applied when you click outside.

create new rule from existing rule

First change the rule name, then edit the rule. The new rule is saved automatically.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.