mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 04:47:18 +08:00
Add example for #448
This commit is contained in:
parent
6ae27a922e
commit
4be8b9f654
@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sqlpp11/remove.h>
|
#include <sqlpp11/sqlpp11.h>
|
||||||
#include "Sample.h"
|
#include "Sample.h"
|
||||||
#include "MockDb.h"
|
#include "MockDb.h"
|
||||||
#include "is_regular.h"
|
#include "is_regular.h"
|
||||||
@ -66,5 +66,7 @@ int Remove(int, char* [])
|
|||||||
|
|
||||||
db(r);
|
db(r);
|
||||||
|
|
||||||
|
remove_from(t).where(t.beta.in(select(f.delta).from(f).unconditionally()));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user