mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Minor fixes
This commit is contained in:
parent
4fbcf77926
commit
a915f36b46
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user