chat_message_count (public, deprecated)

 chat_message_count room_id

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

Deprecated. Invoking this procedure generates a warning.

Get message count in the room.

Parameters:
room_id (required)
See Also:
  • xo::db::chat_room

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) chat_message_count chat_message_count chat_message_count->ad_log_deprecated

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc chat_message_count
    set r [::xo::db::Class get_instance_from_db -id $room_id]
    $r count_messages
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: