Table of Contents

Class SqlController

Namespace
Oqtane.Controllers
Assembly
Oqtane.Server.dll
[Route("api/[controller]")]
public class SqlController : Controller
Inheritance
SqlController

Constructors

SqlController(ITenantRepository, ISqlRepository, ILogManager)

public SqlController(ITenantRepository tenants, ISqlRepository sql, ILogManager logger)

Parameters

tenants ITenantRepository
sql ISqlRepository
logger ILogManager

Methods

Post(SqlQuery)

[HttpPost]
[Authorize(Roles = "Host Users")]
public SqlQuery Post(SqlQuery sqlquery)

Parameters

sqlquery SqlQuery

Returns

SqlQuery