UNPKG

arlet-db

Version:

A simple database manager for Node.js

16 lines (11 loc) 369 B
[🏠 Inicio](../README.md) ## getColumns ### Description: The getColumns method retrieves the names of all columns in a specified table. ### Usage: ````javascript const db = new ArletDb('path/to/database', 'myDatabase'); db.getColumns('users') .then(columns => console.log('Columns:', columns)) .catch(err => console.error('Error:', err)); ````