راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=cargoquery

(main | cargoquery)
  • این پودمان نیازمند اختیارات خواندن است.
  • منبع: Cargo
  • مجوز: GPL-2.0-or-later

Runs a query on the Cargo data.

پارامترها:
Other general parameters are available.
limit

A limit on the number of results returned

نوع: عدد صحیح یا max
The value must be between ۱ and ۵۰۰.
پیش‌فرض: 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