示例#1
0
 sql_number operator()(const sql_blob &value) const
 {
     return value.size();
 }
示例#2
0
 bool operator()(const sql_blob &value) const
 {
     return sqlite3_bind_blob(stmt_.get(), index_, value.data(), value.size(), SQLITE_TRANSIENT) ==
            SQLITE_OK;
 }