0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Added blob (currently synonym of text)

This commit is contained in:
rbock 2014-07-14 18:17:53 +02:00
parent 58b666f20f
commit 8ed0042b67
2 changed files with 5 additions and 0 deletions

View File

@ -216,6 +216,7 @@ namespace sqlpp
}
using text = detail::text;
using blob = detail::text;
using varchar = detail::text;
using char_ = detail::text;

View File

@ -93,6 +93,10 @@ types = {
'char': 'char_',
'varchar': 'varchar',
'text': 'text',
'tinyblob': 'blob',
'blob': 'blob',
'mediumblob': 'blob',
'longblob': 'blob',
'bool': 'boolean',
'double': 'floating_point',
'float': 'floating_point',