boat
C++23 geospatial library
Loading...
Searching...
No Matches
url.hpp
Go to the documentation of this file.
1
// Andrew Naplavkov
2
3
#ifndef BOAT_SQL_URL_HPP
4
#define BOAT_SQL_URL_HPP
5
6
#include <boat/detail/string.hpp>
7
8
namespace
boat::sql
{
9
11
inline
bool
supported_url
(std::string_view url)
12
{
13
return
any(
14
{
"mysql://"
,
"odbc://"
,
"postgres://"
,
"sqlite://"
}, prefix(url));
15
}
16
17
}
// namespace boat::sql
18
19
#endif
// BOAT_SQL_URL_HPP
boat::sql
Definition
catalog.hpp:9
boat::sql::supported_url
bool supported_url(std::string_view url)
Recognizes SQL URL schemes even without the corresponding client library.
Definition
url.hpp:11
include
boat
sql
url.hpp
Generated by
1.15.0