18template <
typename T,
typename DbType>
19concept HasConvert =
requires(DbType&& from) { Convert(std::forward<DbType>(from),
convert::To<T>{}); };
23template <
typename T,
typename DbType>
24T DoConvert(DbType&& from) {
27 impl::HasConvert<T, DbType>,
28 "There is no 'T Convert(From&&, storages::mysql::convert::To<T>)' in "
29 "neither namespace of 'T' or `storages::mysql::convert`"
32 return Convert(std::forward<DbType>(from), To<T>{});