Fieldtype::getLoadQueryAutojoin() method

Return the query used for Autojoining this field (if different from getLoadQuery) or NULL if autojoin not allowed.

Usage

$databaseQuerySelect = $fieldtype->getLoadQueryAutojoin(Field $field, DatabaseQuerySelect $query);

Arguments

NameType(s)Description
fieldField
queryDatabaseQuerySelect

Return value

DatabaseQuerySelect null


Fieldtype methods and properties

API reference based on ProcessWire core version 3.0.228

Latest news

  • ProcessWire Weekly #499
    In the 499th issue of ProcessWire Weekly we'll check out the latest weekly update from Ryan, introduce a new third party module called RockPdf, and more. Read on!
    Weekly.pw / 3 December 2023
  • Using date range fields in ProcessWire
    This week we'll take a detailed look at the newest addition to the ProFields set of modules: the Date Range Fieldtype and Inputfield.
    Blog / 24 November 2023
  • Subscribe to weekly ProcessWire news

“I am currently managing a ProcessWire site with 2 million+ pages. It’s admirably fast, and much, much faster than any other CMS we tested.” —Nickie, Web developer