Skip to content

CustomController: SecureQueryController - Execute SQL Commands #1065

@Mashiane

Description

@Mashiane

Hi there

This is not an issue specifically but a custom controller for those who want to execute sql commands directly via the REST API.

SecureQueryController.php

Add this before $config = new Config

require 'SecureQueryController.php';

Add this to config

'customControllers' => 'SecureQueryController',

#SharingTheGoodness

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions