arlet-db
Version:
A simple database manager for Node.js
15 lines (11 loc) • 335 B
Markdown
[🏠 Inicio](../README.md)
## getAll
### Description:
The getAll method retrieves all data from a specified table.
## Usage:
````javascript
const db = new ArletDb('path/to/database', 'myDatabase');
db.getAll('users')
.then(data => console.log('All data:', data))
.catch(err => console.error('Error:', err));
````