Function DatabaseConnector->find_query_hotspots

Definitions

sources/database.php

  • Find key parts of SQL query so we can inject into it.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$query string required parameter N/A N/A The query

Return

  • A pair: position just before " FROM ", position just before the end of the FROM clause
  • Type: array
  • Set: N/A
  • Range: N/A