All pages
Powered by GitBook
1 of 1

Loading...

last_insert_grn_id

This UDF returns the unique ID assigned by Groonga for the last inserted record, useful for tracking internal record identifiers.

Syntax

last_insert_grn_id()

Description

last_insert_grn_id is a (UDF) included with the . It returns the unique Groonga id of the last-inserted record. See for details on creating this UDF if required.

Examples

See Also

This page is licensed: CC BY-SA / Gnu FDL

SELECT last_insert_grn_id();
+----------------------+
| last_insert_grn_id() |
+----------------------+
|                    3 |
+----------------------+
user-defined function
Mroonga storage engine
Creating Mroonga User-Defined Functions
Creating Mroonga User-Defined Functions