UNPKG

arlet-db

Version:

A simple database manager for Node.js

16 lines (11 loc) 430 B
[🏠 Inicio](../README.md) ## clearTableNoForce ### Description: The clearTableNoForce method clears all data from a specified table without affecting the auto-increment column. ### Usage: ````javascript const db = new ArletDb('path/to/database', 'myDatabase'); db.clearTableNoForce('users') .then(table => console.log('Table cleared (no force):', table)) .catch(err => console.error('Error:', err)); ````