acs::db::nsdb-postgresql method call acs_message send (public)

 <instance of acs::db::nsdb-postgresql[i]> call acs_message send \
    [ -dbn dbn ] -message_id message_id  -recipient_id recipient_id  \
    [ -grouping_id grouping_id ] [ -wait_until wait_until ]

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

Automatically generated method TYPES: integer {character varying} integer {timestamp with time zone}

Switches:
-dbn (optional)
-message_id (required)
-recipient_id (required)
-grouping_id (optional, accept empty)
-wait_until (optional, defaults to "sysdate")

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