aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/query.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/query.txx')
-rw-r--r--odb/sqlite/query.txx32
1 files changed, 16 insertions, 16 deletions
diff --git a/odb/sqlite/query.txx b/odb/sqlite/query.txx
index b095d52..ba3fac1 100644
--- a/odb/sqlite/query.txx
+++ b/odb/sqlite/query.txx
@@ -19,7 +19,7 @@ namespace odb
//
append (c.table (), c.column ());
append ("=");
- append<bool, ID> (val_bind<bool> (true));
+ append<bool, ID> (val_bind<bool> (true), c.conversion ());
}
// query_column
@@ -30,9 +30,9 @@ namespace odb
{
query q (table_, column_);
q += "IN (";
- q.append<T, ID> (val_bind<T> (v1));
+ q.append<T, ID> (val_bind<T> (v1), conversion_);
q += ",";
- q.append<T, ID> (val_bind<T> (v2));
+ q.append<T, ID> (val_bind<T> (v2), conversion_);
q += ")";
return q;
}
@@ -43,11 +43,11 @@ namespace odb
{
query q (table_, column_);
q += "IN (";
- q.append<T, ID> (val_bind<T> (v1));
+ q.append<T, ID> (val_bind<T> (v1), conversion_);
q += ",";
- q.append<T, ID> (val_bind<T> (v2));
+ q.append<T, ID> (val_bind<T> (v2), conversion_);
q += ",";
- q.append<T, ID> (val_bind<T> (v3));
+ q.append<T, ID> (val_bind<T> (v3), conversion_);
q += ")";
return q;
}
@@ -58,13 +58,13 @@ namespace odb
{
query q (table_, column_);
q += "IN (";
- q.append<T, ID> (val_bind<T> (v1));
+ q.append<T, ID> (val_bind<T> (v1), conversion_);
q += ",";
- q.append<T, ID> (val_bind<T> (v2));
+ q.append<T, ID> (val_bind<T> (v2), conversion_);
q += ",";
- q.append<T, ID> (val_bind<T> (v3));
+ q.append<T, ID> (val_bind<T> (v3), conversion_);
q += ",";
- q.append<T, ID> (val_bind<T> (v4));
+ q.append<T, ID> (val_bind<T> (v4), conversion_);
q += ")";
return q;
}
@@ -75,15 +75,15 @@ namespace odb
{
query q (table_, column_);
q += "IN (";
- q.append<T, ID> (val_bind<T> (v1));
+ q.append<T, ID> (val_bind<T> (v1), conversion_);
q += ",";
- q.append<T, ID> (val_bind<T> (v2));
+ q.append<T, ID> (val_bind<T> (v2), conversion_);
q += ",";
- q.append<T, ID> (val_bind<T> (v3));
+ q.append<T, ID> (val_bind<T> (v3), conversion_);
q += ",";
- q.append<T, ID> (val_bind<T> (v4));
+ q.append<T, ID> (val_bind<T> (v4), conversion_);
q += ",";
- q.append<T, ID> (val_bind<T> (v5));
+ q.append<T, ID> (val_bind<T> (v5), conversion_);
q += ")";
return q;
}
@@ -101,7 +101,7 @@ namespace odb
if (i != begin)
q += ",";
- q.append<T, ID> (val_bind<T> (*i));
+ q.append<T, ID> (val_bind<T> (*i), conversion_);
}
q += ")";
return q;