Help:Querying Cargo data

From Saintapedia
Revision as of 13:59, 18 September 2024 by Tom (talk | contribs) (Created page with "'''Querying data''' within Cargo can be done in a number of ways: * Via two parser functions, #cargo_query and #cargo_compound_query * At the page Special:ViewData, which provides a simple interface that lets you set the parameters for a query * Via a query written in Lua, using the Scribunto extension * Simply by SQL calls, if you have direct access to the Cargo database. The #cargo_query and #cargo_compound_query functio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Querying data within Cargo can be done in a number of ways:

  • Via two parser functions, #cargo_query and #cargo_compound_query
  • At the page Special:ViewData, which provides a simple interface that lets you set the parameters for a query
  • Via a query written in Lua, using the Scribunto extension
  • Simply by SQL calls, if you have direct access to the Cargo database.

The #cargo_query and #cargo_compound_query functions are explained on this page; #cargo_compound_query function essentially calls two or more queries at the same time, then displays their results together. The interface at Special:ViewTable provides the same parameters that #cargo_query does.

Official Site - mediawiki.org

Related