arlet-db
Version:
A simple database manager for Node.js
16 lines (11 loc) • 384 B
Markdown
[🏠 Inicio](../README.md)
## columnExists
### Description:
The columnExists method checks if a specified column exists in a given table.
### Usage:
````javascript
const db = new ArletDb('path/to/database', 'myDatabase');
db.columnExists('users', 'name')
.then(exists => console.log('Column exists:', exists))
.catch(err => console.error('Error:', err));
````