[Main page] [Overview]     /efun /sl_insert_id

OPTIONAL
SYNOPSIS
int sl_insert_id()

DESCRIPTION
After inserting a line into a table with an AUTO_INCREMENT field,
this efun can be used to return the (new) value of the AUTO_INCREMENT
field.

The function is available only if the driver is compiled with
SQLite support. In that case, __SQLITE__ is defined.

HISTORY
Added in LDMud 3.3.713.

SEE ALSO
sl_open(E), sl_exec(E), sl_close(E)