LAST_INSERT_ID for SERIAL Datatype

New to the Cockroachdb.

If there any way to get last insert id for serial dataype? Just like what last_insert_id() in mysql?

Thanks,

We support the INSERT... RETURNING syntax that allows getting the value of an inserted or updated value at the same time as it is written:
https://www.cockroachlabs.com/docs/insert.html#insert-and-return-values