Skip to main content

handle_command

Function handle_command 

Source
pub async fn handle_command(
    __arg0: State<AppState>,
    __arg1: Query<FormatParams>,
    headers: HeaderMap,
    __arg3: Json<StatementRequest>,
) -> Result<Response, AppError>
Expand description

Execute a write command.

Commands include INSERT, UPDATE, and DELETE statements.

ยงAuthentication

Supported via one of:

  • Authorization: Bearer <token> header
  • No credentials (anonymous access)