
- ArangoDB - Home
- A Multi-Model First Database
- ArangoDB – Advantages
- Basic Concepts & Terminologies
- ArangoDB – System Requirements
- ArangoDB – Command Line
- ArangoDB - Web Interface
- ArangoDB - Example Case Scenarios
- Data Models & Modeling
- ArangoDB - Database Methods
- ArangoDB - Crud Operations
- Crud Operations Using Web Interface
- Querying The Data With AQL
- ArangoDB - AQL Example Queries
- ArangoDB – How To Deploy
ArangoDB - Command Line
In this chapter, we will discuss how Arangosh works as the Command Line for ArangoDB. We will start by learning how to add a Database user.
Note − Remember numeric keypad might not work on Arangosh.
Let us assume that the user is harry and password is "hpwdb".
127.0.0.1:8529@_system> require("org/arangodb/users").save("harry", "hpwdb");
Output
{ "user" : "harry", "active" : true, "extra" : {}, "changePassword" : false, "code" : 201 }
Advertisements