Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:comet:cometql [2017/04/20 04:51] levhav [How to connect and try by yourself] |
en:comet:cometql [2019/12/18 02:05] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <rst>EN::002-API::002-CometQL::004-CometQL API</rst> | ||
| + | <rst>Header: CometQL API</rst> | ||
| + | |||
| ====== CometQL ====== | ====== CometQL ====== | ||
| Line 113: | Line 116: | ||
| Input channel name “pipe _name” and click “subscribe”. | Input channel name “pipe _name” and click “subscribe”. | ||
| <html> | <html> | ||
| - | <iframe src="//comet-server.ru/doc/example/7/subscriptionTest.php" width="910px"></iframe> | + | <iframe src="//comet-server.com/doc/example/7/subscriptionTest.php" width="910px"></iframe> |
| </html> | </html> | ||
| Now perform with online command prompt insert-query with pipes_messages and check the result. | Now perform with online command prompt insert-query with pipes_messages and check the result. | ||
| Line 140: | Line 143: | ||
| Input channel name “web_admins” and click “subscribe”. | Input channel name “web_admins” and click “subscribe”. | ||
| <html> | <html> | ||
| - | <iframe src="//comet-server.ru/doc/example/7/subscriptionTest.php" width="910px"></iframe> | + | <iframe src="//comet-server.com/doc/example/7/subscriptionTest.php" width="910px"></iframe> |
| </html> | </html> | ||
| Now perform query again and you will see that amount of subscribers are increase. | Now perform query again and you will see that amount of subscribers are increase. | ||
| Line 221: | Line 224: | ||
| ===== Table users_time ===== | ===== Table users_time ===== | ||
| - | The table users_time contains data about users were online. This table is available only for reading. Data timing stores in UNIX-time. | + | The table users_time contains data about when users were online. This table is available only for reading. Data timing stores in UNIX-time. |
| <code sql> | <code sql> | ||
| mysql> select * from users_time where id in( 2, 3, 145); | mysql> select * from users_time where id in( 2, 3, 145); | ||