getNextID: Get the next Id for the table entry

Description Usage Arguments Value

Description

Gets the next valid id for a given table. This function is used internally to decide what id number should be used to save a parameter set

Usage

1
getNextID(tble_name, db_path = "database/project.sqlite")

Arguments

tble_name

Name of the table for which the ID is required

db_path

The location of the project database. This defaults to database/project.sqlite and is not expected to change

Value

int Integer ID of the next row in the table.


sahu27/sahu documentation built on May 30, 2019, 2:06 a.m.