Compare commits
No commits in common. "44adc81ce147bea47ada56bb070267ea898cb51f" and "72f9d28d0d97312ecc906daaf688e894a1985c07" have entirely different histories.
44adc81ce1
...
72f9d28d0d
|
|
@ -118,8 +118,8 @@ query_builder &query_builder::select(const std::vector<column> &columns)
|
|||
}
|
||||
} else {
|
||||
auto it = columns.begin();
|
||||
result.append(dialect_.prepare_identifier(*it));
|
||||
query_.prototype.append(column{*it++});
|
||||
result.append(dialect_.prepare_identifier(*it++));
|
||||
query_.prototype.append(column{*it});
|
||||
for (; it != columns.end(); ++it) {
|
||||
result.append(", ");
|
||||
result.append(dialect_.prepare_identifier(*it));
|
||||
|
|
|
|||
|
|
@ -8,17 +8,17 @@ FetchContent_Declare(
|
|||
|
||||
FetchContent_MakeAvailable(Catch2)
|
||||
|
||||
add_executable(tests QueryBuilderTest.cpp
|
||||
SessionTest.cpp
|
||||
RecordTest.cpp
|
||||
ConnectionPoolTest.cpp
|
||||
add_executable(tests builder.cpp
|
||||
session.cpp
|
||||
record.cpp
|
||||
connection_pool.cpp
|
||||
query.cpp
|
||||
BackendProviderTest.cpp
|
||||
ConnectionTest.cpp
|
||||
backend_provider.cpp
|
||||
connection.cpp
|
||||
models/product.hpp
|
||||
ColumnGeneratorTest.cpp
|
||||
ColumnNameGeneratorTest.cpp
|
||||
ValueGeneratorTest.cpp
|
||||
column_generator.cpp
|
||||
column_name_generator.cpp
|
||||
value_generator.cpp
|
||||
models/category.hpp
|
||||
models/supplier.hpp
|
||||
models/airplane.hpp
|
||||
|
|
|
|||
Loading…
Reference in New Issue