mirror of https://gitee.com/bigwinds/arangodb
fix js in aragosh user mngmnt example (#4466)
This commit is contained in:
parent
8626f96a4d
commit
96fd64d620
|
@ -17,7 +17,7 @@ This is again for backward compatibility.
|
||||||
Fire up *arangosh* and require the users module. Use it to create a new user:
|
Fire up *arangosh* and require the users module. Use it to create a new user:
|
||||||
|
|
||||||
```
|
```
|
||||||
arangosh> var users = require('@arangodb/users');
|
arangosh> const users = require('@arangodb/users');
|
||||||
arangosh> users.save('JohnSmith', 'mypassword');
|
arangosh> users.save('JohnSmith', 'mypassword');
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue