[ Version ( since = "2.26" ) ]
public int count_message_info (string query, out uint32 count) throws Error
Executes a COUNT
query (like "SELECT COUNT(*) FROM table") and provides the result of it as an unsigned 32-bit integer.
this |
a DB |
query |
a |
count |
the result of the query |
0 on success, -1 on error |