xo::db::postgresql instproc nextval (public)
<instance of xo::db::postgresql> nextval sequence
Defined in /var/www/openacs/packages/xotcl-core/tcl/05-db-procs.tcl
Return the next value of a PostgreSQL sequence, resolving its name through the per-thread sequence cache.
- Parameters:
- sequence (required)
- Sequence name.
- Testcases:
- xotcl_core_tutorial_4, test_cr_items
![[i]](/resources/acs-subsite/ZoomIn16.gif)