acs::db::nsdb-postgresql method call util multiple_nextval (public)

 <instance of acs::db::nsdb-postgresql[i]> call util multiple_nextval \
    [ -dbn dbn ] -v_sequence_name v_sequence_name  -v_count v_count 

Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl

Automatically generated method TYPES: {character varying} integer

Switches:
-dbn (optional)
-v_sequence_name (required)
-v_count (required)

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select util__multiple_nextval(:v_sequence_name,CAST(:v_count AS integer))}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: