fix documentation

This commit is contained in:
FullGreaM 2022-06-26 20:52:57 +03:00
parent fbf54e7cd5
commit c5d5ce9072
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ var roleData = database.get('role', new SQLEasy.Request([{id: i.role}]));
var rolesData = database.get('users').map(i => {
return {
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}]))
}
});
```

View File

@ -1,6 +1,6 @@
{
"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.",
"main": "index.js",
"scripts": {