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

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

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

Count messages currently persisted for this chat room.

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

Testcases:
No testcase defined.
Source code:
set room_id ${:room_id}
::xo::dc get_value count_messages {
    select count(*) from chat_msgs
    where room_id = :room_id
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: