UNPKG

arlet-db

Version:

A simple database manager for Node.js

15 lines (11 loc) 422 B
[🏠 Inicio](../README.md) ## resetAutoIncrement ### Description: The resetAutoIncrement method resets the value of the auto-increment column for a specified table. ### Usage: ````javascript const db = new ArletDb('path/to/database', 'myDatabase'); db.resetAutoIncrement('users', 'age') .then(value => console.log('Auto-increment reset to:', value)) .catch(err => console.error('Error:', err)); ````