mirror of
https://github.com/rbock/sqlpp11.git
synced 2025-12-30 17:50:10 -06:00
Minor fixes
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#ifndef SQLPP_SCHEMA_H
|
||||
#define SQLPP_SCHEMA_H
|
||||
|
||||
#include <string>
|
||||
#include <sqlpp11/type_traits.h>
|
||||
#include <sqlpp11/serializer.h>
|
||||
|
||||
namespace sqlpp
|
||||
|
||||
@@ -29,9 +29,6 @@
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/select.h>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
MockDb db = {};
|
||||
@@ -115,7 +112,7 @@ int main()
|
||||
std::cerr << x.alpha << std::endl;
|
||||
}
|
||||
|
||||
// Check that a prepared select is default-constructible
|
||||
// Check that a prepared select is default-constructable
|
||||
{
|
||||
auto s = select(all_of(t)).from(t).where((t.beta.like(parameter(t.beta)) and t.alpha == parameter(t.alpha)) or t.gamma != parameter(t.gamma));
|
||||
using P = decltype(db.prepare(s));
|
||||
|
||||
Reference in New Issue
Block a user