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

 <instance of xo::db::chat_room[i]> delete_messages

Defined in /var/www/openacs.org/packages/chat/tcl/xotcl-chat-procs.tcl

Delete all persisted messages from the chat room.

Testcases:
No testcase defined.
Source code:
set room_id ${:room_id}
::xo::dc dml delete_messages {
    delete from chat_msgs where room_id = :room_id
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: