MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
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 
- Type: integer or max
- The value must be between 1 and 500.
- 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 
- Type: integer
- The value must be no less than 0.
- Default: 0