mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-06 05:00:37 -06:00
Added a few bad examples (commented)
This commit is contained in:
@@ -36,6 +36,21 @@ int main()
|
||||
{
|
||||
db(insert_into(f).set(f.name = "loves c++", f.fatal = false));
|
||||
|
||||
//db(insert_into(f).set(f.nahme = "loves c++", f.fatal = false));
|
||||
|
||||
//db(insert_into(f).set(f.name == "loves c++", f.fatal = false));
|
||||
|
||||
//db(insert_into(f).set(f.name = "loves c++", f.fatal = "false"));
|
||||
|
||||
//db(insert_into(p).set(f.name = "loves c++", f.fatal = false));
|
||||
|
||||
//db(insert_into(f).set(f.name = "loves c++", p.feature = 7));
|
||||
|
||||
//db(insert_into(f).set(f.id = 42, f.name = "loves c++", f.fatal = false));
|
||||
|
||||
//db(insert_into(f).set(f.name = "loves c++"));
|
||||
|
||||
|
||||
db(insert_into(f).default_values());
|
||||
|
||||
auto i = insert_into(p).columns(p.name, p.feature);
|
||||
|
||||
Reference in New Issue
Block a user