blob: 49c1fb89c3eb62276ca164ca2211bf6e586573f7 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001OPTIONAL
2SYNOPSIS
3 int sl_insert_id()
4
Zesstra715ec202025-07-09 22:18:31 +02005DESCRIPTION
6 After inserting a line into a table with an AUTO_INCREMENT field,
7 this efun can be used to return the (new) value of the AUTO_INCREMENT
8 field.
MG Mud User88f12472016-06-24 23:31:02 +02009
Zesstra715ec202025-07-09 22:18:31 +020010 The function is available only if the driver is compiled with
11 SQLite support. In that case, __SQLITE__ is defined.
MG Mud User88f12472016-06-24 23:31:02 +020012
Zesstra715ec202025-07-09 22:18:31 +020013HISTORY
14 Added in LDMud 3.3.713.
MG Mud User88f12472016-06-24 23:31:02 +020015
Zesstra715ec202025-07-09 22:18:31 +020016SEE ALSO
MG Mud User88f12472016-06-24 23:31:02 +020017 sl_open(E), sl_exec(E), sl_close(E)