MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=cargoquery
(main | cargoquery)
- This module requires read rights.
- Source: Cargo
- License: GPL-2.0-or-later
Runs a query on the Cargo data.
Parameters:
- limit
A limit on the number of results returned
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- Default: 50
- tables
The Cargo database table or tables on which to search
- fields
The table field(s) to retrieve
- where
The conditions for the query, corresponding to an SQL WHERE clause
- join_on
Conditions for joining multiple tables, corresponding to an SQL JOIN ON clause
- group_by
Field(s) on which to group results, corresponding to an SQL GROUP BY clause
- having
Conditions for grouped values, corresponding to an SQL HAVING clause
- order_by
The order of results, corresponding to an SQL ORDER BY clause
- offset
The query offset
- The value must be no less than 0.
- Type: integer
- Default: 0