arlet-db
Version:
A simple database manager for Node.js
15 lines (11 loc) • 439 B
Markdown
[🏠 Inicio](../README.md)
## getAutoIncrementValue
### Description:
The getAutoIncrementValue method retrieves the current value of the auto-increment column for a specified table.
### Usage:
````javascript
const db = new ArletDb('path/to/database', 'myDatabase');
db.getAutoIncrementValue('users', 'age')
.then(value => console.log('Auto-increment value:', value))
.catch(err => console.error('Error:', err));
````