0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

Added like method for text types

This commit is contained in:
Roland Bock 2013-08-21 19:30:13 +02:00
parent 7f77a424e3
commit f244f1110a

View File

@ -127,6 +127,12 @@ namespace sqlpp
return { *static_cast<const Base*>(this), std::forward<T>(t) }; return { *static_cast<const Base*>(this), std::forward<T>(t) };
} }
template<typename T>
nary_expression_t<Base, like_, typename _constraint<T>::type> like(T&& t) const
{
return { *static_cast<const Base*>(this), std::forward<T>(t) };
}
}; };
}; };