Difference between revisions of "API: Who"
From Elder Tale Online MUSH
Liminality (talk | contribs) m |
Liminality (talk | contribs) m |
||
Line 9: | Line 9: | ||
!style="text-align:left;"| Name | !style="text-align:left;"| Name | ||
!style="text-align:left;"| Connected For | !style="text-align:left;"| Connected For | ||
− | !style="text-align:left;"| Idle For{{# | + | !style="text-align:left;"| Idle For{{#display_external_table:template=WhoLine|data=CharacterId=characterid,OnFor=connectedfor,IdleFor=idlefor,Name=name}} |
− | |||
− | |||
− | |||
− | |||
− | }} | ||
|} | |} | ||
{{#ask: [[Characterid::18359]] | format=debug | default=Fail}} | {{#ask: [[Characterid::18359]] | format=debug | default=Fail}} |
Revision as of 00:25, 23 March 2019
Name | Connected For | Idle For |
---|
SQLStore debug output
ASK Query
[[Characterid::18359]]
SQL Query
SELECT DISTINCT
t0.smw_id AS id,
t0.smw_title AS t,
t0.smw_namespace AS ns,
t0.smw_iw AS iw,
t0.smw_subobject AS so,
t0.smw_sortkey AS sortkey, t0.smw_sort
FROM
`wiki_smw_object_ids` AS t0
INNER JOIN
`wiki_smw_di_blob` AS t1 ON t0.smw_id=t1.s_id
WHERE
(
(t1.o_hash='18359') AND t1.p_id='596')
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
55
OFFSET
0
t0.smw_id AS id,
t0.smw_title AS t,
t0.smw_namespace AS ns,
t0.smw_iw AS iw,
t0.smw_subobject AS so,
t0.smw_sortkey AS sortkey, t0.smw_sort
FROM
`wiki_smw_object_ids` AS t0
INNER JOIN
`wiki_smw_di_blob` AS t1 ON t0.smw_id=t1.s_id
WHERE
(
(t1.o_hash='18359') AND t1.p_id='596')
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
55
OFFSET
0
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t1 | ref | s_id,o_hash,s_id_2,p_id | o_hash | 258 | const | 1 | Using index condition; Using where; Using temporary; Using filesort |
1 | SIMPLE | t0 | eq_ref | PRIMARY,smw_id,smw_iw,smw_iw_2 | PRIMARY | 4 | eldertale_wiki.t1.s_id | 1 | Using where |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:2Query-Depth:1
Errors and Warnings
None