Basic Usage

To include all of QueryC++ in one go, you can include the querycpp.hpp file. This file includes all other header files from QueryC++ and enables full usage QueryC++.

We will mainly be using the query class, which is the which is the one we use to build queries.

#include <querycpp/querycpp.hpp>

int main(void)
{
    querycpp::query query;
    query.select("*").from("t").where().gt('id', 10);

    auto query_str = query.string();
}