mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Added like method for text types
This commit is contained in:
parent
7f77a424e3
commit
f244f1110a
@ -127,6 +127,12 @@ namespace sqlpp
|
||||
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) };
|
||||
}
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user