Function DatabaseConnector->has_full_text

Definitions

sources/database.php

  • Find whether full-text-search is present.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$table ?string No No Null N/A N/A Table to check we have an index on (null: no check)
$field ?string No No Null N/A N/A Field to check we have an index on (null: no check)

Returns

  • Whether it is
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find whether full-text-search is present.
 *
 * @param  ?string $table Table to check we have an index on (null: no check)
 * @param  ?string $field Field to check we have an index on (null: no check)
 * @return boolean Whether it is
 */

public function has_full_text(?string $table = null, ?string $field = null) : bool