acs::db::nsdb-postgresql method call subsite_callback new (public)

 <instance of acs::db::nsdb-postgresql[i]> call subsite_callback new \
    [ -dbn dbn ] [ -callback_id callback_id ] -event_type event_type  \
    -object_type object_type  -callback callback  \
    -callback_type callback_type  [ -sort_order sort_order ]

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

Automatically generated method TYPES: integer {character varying} {character varying} {character varying} {character varying} integer

Switches:
-dbn (optional)
-callback_id (optional, accept empty)
-event_type (required)
-object_type (required)
-callback (required)
-callback_type (required)
-sort_order (optional, accept empty)

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