Query.run

Runs the Query, returning a Result object. Optionally accepts a list of params for the query to be ran with. The params are added to the query, and if the query is re-ran for the second time, do not need to be added again.

  1. Result run()
  2. Result run(T params)
    struct Query
    run
    (
    T...
    )
    ()

Examples

Connection c;
auto q = Query(c);
q = "SELECT $1";
q.run(123);

Meta