GovtNZ\SilverStripe\SqlExplorer\SQLExplorerQueryGrid_ItemRequest::validSQL
Determine if this SQL statement should allowed to be executed. We only support read-only queries, so it's got to start with a "select".
Signature
protected function validSQL(string
$sql )
Parameters
$sql
— string
Returns
- boolean