.. efun:: int sl_insert_id() :optional: 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, :macro:`__SQLITE__` is defined. :history 3.3.713 introduced: .. seealso:: :efun:`sl_open`, :efun:`sl_exec`, :efun:`sl_close`