Expand description
Sequence operations for retrieving and manipulating sequence values.
Functionsยง
- currval
- Generate SQL for getting the current value of a sequence (last retrieved value in session).
- default_
nextval - Generate SQL expression for using a sequence as a default value.
- last_
insert_ id - Generate SQL for getting the last inserted ID (auto-increment value).
- nextval
- Generate SQL for getting the next value from a sequence.
- setval
- Generate SQL for setting a sequence to a specific value.