diff options
-rw-r--r-- | doc/manual.xhtml | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/doc/manual.xhtml b/doc/manual.xhtml index 57e7338..3925dea 100644 --- a/doc/manual.xhtml +++ b/doc/manual.xhtml @@ -9788,9 +9788,10 @@ aCC +W2161 ... it is mapped to <code>TEXT</code>.</p> <p>The MySQL ODB runtime library also provides support for mapping the - <code>std::vector<char></code> type to the MySQL BLOB types. - However, this mapping is not enabled by default (by default, - <code>std::vector<char></code> will be treated as a container). + <code>std::vector<char></code> and + <code>std::vector<unsigned char></code> types to the MySQL + BLOB types. However, this mapping is not enabled by default (by + default, <code>std::vector</code> will be treated as a container). To enable the BLOB mapping for this type we need to specify the database type explicitly using the <code>db type</code> pragma (<a href="#11.4.3">Section 11.4.3, "<code>type</code>"</a>), @@ -10413,9 +10414,10 @@ namespace odb </table> <p>The SQLite ODB runtime library also provides support for mapping the - <code>std::vector<char></code> type to the SQLite BLOB type. - However, this mapping is not enabled by default (by default, - <code>std::vector<char></code> will be treated as a container). + <code>std::vector<char></code> and + <code>std::vector<unsigned char></code> types to the SQLite + BLOB type. However, this mapping is not enabled by default (by default, + <code>std::vector</code> will be treated as a container). To enable the BLOB mapping for this type we need to specify the database type explicitly using the <code>db type</code> pragma (<a href="#11.4.3">Section 11.4.3, "<code>type</code>"</a>), @@ -11150,9 +11152,10 @@ CREATE TABLE Employee ( </table> <p>The PostgreSQL ODB runtime library also provides support for mapping the - <code>std::vector<char></code> type to the PostgreSQL <code>BYTEA</code> - type. However, this mapping is not enabled by default (by default, - <code>std::vector<char></code> will be treated as a container). + <code>std::vector<char></code> and + <code>std::vector<unsigned char></code> types to the PostgreSQL + <code>BYTEA</code> type. However, this mapping is not enabled by default + (by default, <code>std::vector</code> will be treated as a container). To enable the <code>BYTEA</code> mapping for this type we need to specify the database type explicitly using the <code>db type</code> pragma (<a href="#11.4.3">Section 11.4.3, "<code>type</code>"</a>), |