Skip to main content

Auto Increment

Auto Increment Method

Table Of Auto Increment Method


  • table (table to modify the auto increment of it)
  • number (the number to set the auto increment to)
auto_increment(table, number)

Example Usage

await db.auto_increment("my_table", 5);
// -> sets 'my_table' table auto increment to 5

Returned Data

Returns the auto increment that has been set successfully