Simon Lepasteur
Simon Lepasteur
Is it possible to perform requests with case statements using sqlpp11? ``` sql SELECT CASE WHEN col < 100 THEN col ELSE othercol END AS colname FROM table ```
### Description Executing Catch's tests compiler with address sanitizer enabled with g++ 7.1.1 produces a stack-use-after-scope error. ### Steps to reproduce Add sanitizer flags to CMakeLists.txt: `set(CMAKE_CXX_FLAGS` "${CMAKE_CXX_FLAGS} -fsanitize=address `-fno-omit-frame-pointer")`...
I defined a request taking a json object as parameter in the body. The json object contains a number value. If this value is 0, the corresponding json is not...
Hi, Is it ok to create a pplx task, giving it some work and never calling wait() or get() on it? I have some work to do, and need to...
I tried to execute the [cancelling parallel tasks exemple](https://msdn.microsoft.com/en-us/library/dd984117.aspx#Anchor_3) on linux but it didn't work (the task was never canceled). Here is the output: Creating task... Performing work... Performing work......
## Description I am trying to print std::vector content on failure. E.g.: `REQUIRE(std::vector{1} == std::vector{1,2});` Should produce to following output. ``` FATAL ERROR: REQUIRE( std::vector{1} == std::vector{1,2} ) is NOT...
Hi, I'm trying to use the dynamic select statements like dynamic_where and dynamic_limit like that: ``` auto s = dynamic_select(m_db, all_of(entry)).from(entry).dynamic_where(); s.add_where(true); ``` but I got the following compilation error:...
I would like to perform the following request `SELECT * FROM entry WHERE id IN (SELECT id FROM entry WHERE ...);` but could not find any documentation on how to...
What is the return value of an insert statement like the one on the wiki? ` db.run(insert_into(tab).set(tab.gamma = true));`
I updated sqlpp11 version and a statement that was previously working is failing to compile.error: ```‘sqlpp::return_type_minus_t {aka struct sqlpp::integral}’ has no member named ‘as’ for (const auto& row : m_db(select((count(sql_entry.id)...