xo::db::chat_room instproc delete (public)

 <instance of xo::db::chat_room[i]> delete args [ args... ]

Defined in packages/chat/tcl/xotcl-chat-procs.tcl

Delete the chat room and all of its transcripts

Parameters:
args

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
set room_id ${:room_id}
foreach transcript_id [::xo::dc list get_transcripts {
    select transcript_id from chat_transcripts
    where room_id = :room_id
}] {
    ::acs::dc call acs_object delete  -object_id $transcript_id
}
next
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: