| Home | Libraries | People | FAQ | More

###### pipeline_request::add_execute (1 of 2 overloads)

Adds a stage that executes a text query.

###### Synopsis

    pipeline_request&
    add_execute(
        string_view query);

###### Description

Creates a stage that will run `query` as a SQL query, like `any_connection::execute`.

###### Exception safety

Strong guarantee. Memory allocations may throw.

###### Object lifetimes

query is copied into the request and need not be kept alive after this function returns.