sl_insert_id
ldmud-3.3.719/doc/efun/sl_insert_id · 452 B
From the archive ldmud-3.3.719.tar.gz
Download the archive « Back to the archive contents
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)