fix documentation
This commit is contained in:
parent
fbf54e7cd5
commit
c5d5ce9072
@ -49,7 +49,7 @@ var roleData = database.get('role', new SQLEasy.Request([{id: i.role}]));
|
|||||||
var rolesData = database.get('users').map(i => {
|
var rolesData = database.get('users').map(i => {
|
||||||
return {
|
return {
|
||||||
user: i,
|
user: i,
|
||||||
role_data: sqlite.get_from_key(roleData, new SQLEasy.Request([{id: i.role}]))
|
role_data: SQLEasy.tools.get_from_key(roleData, new SQLEasy.Request([{id: i.role}]))
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sql-easy-lib",
|
"name": "sql-easy-lib",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "This library was written from simple work with databases. In current version supported next famous databases: sqlite3 and MySQL. In future, list with supported databases will be replenishing.",
|
"description": "This library was written from simple work with databases. In current version supported next famous databases: sqlite3 and MySQL. In future, list with supported databases will be replenishing.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user