Help:Cargo (Query)

Revision as of 17:19, 17 October 2024 by MrT (talk | contribs) (Created page with "This is a help article focused on querying cargo tables (part of the Cargo extension). == Special page == Special:CargoQuery === Tables === Table(s) list one or more tables to query. Aliases for tables can be set as "TableName=Alias". Example: Cities=city, Countries === Fields === Field(s) list fields to display. Default value is "_pageName". Aliases for fields can be set as "FieldName=Alias". Example: Cities.Population=P, Countries.Capital...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a help article focused on querying cargo tables (part of the Cargo extension).

Special page

Special:CargoQuery

Tables

Table(s) list one or more tables to query. Aliases for tables can be set as "TableName=Alias".

Example: Cities=city, Countries

Fields

Field(s) list fields to display. Default value is "_pageName". Aliases for fields can be set as "FieldName=Alias".

Example: Cities.Population=P, Countries.Capital

Where

Where allows you to enter condition(s). Multiple conditions can be separated by AND/OR.

Example: Country.Continent = 'North America' AND City.Population > 100000

Join on

Join on is mandatory when multiple tables are entered.

Example: Cities.Country=Countries._pageName

Wikitext