UNPKG

arlet-db

Version:

A simple database manager for Node.js

16 lines (12 loc) 387 B
[🏠 Inicio](../README.md) ## getById ### Description: The getById method retrieves a row of data from a specified table based on its id_arlet. ## Usage: ````javascript Copiar código const db = new ArletDb('path/to/database', 'myDatabase'); db.getById('users', 1) .then(data => console.log('Data by ID:', data)) .catch(err => console.error('Error:', err));` ````