diff options
author | Andrei Pavel <andrei@isc.org> | 2022-06-21 21:42:46 +0200 |
---|---|---|
committer | Andrei Pavel <andrei@isc.org> | 2022-06-22 14:18:08 +0200 |
commit | 14edcab6a99bb9c29746ba6b53b8aab4e62788e6 (patch) | |
tree | 3cf41d2adb9c7361ddf0d3faf0b369ff796c8165 /src/lib/dhcpsrv/pgsql_lease_mgr.h | |
parent | [#2438] return strings from MySQL's checkLeaseXLimits() (diff) | |
download | kea-14edcab6a99bb9c29746ba6b53b8aab4e62788e6.tar.xz kea-14edcab6a99bb9c29746ba6b53b8aab4e62788e6.zip |
[#2438] add MySqlLeaseMgr::isJsonSupported()
Diffstat (limited to 'src/lib/dhcpsrv/pgsql_lease_mgr.h')
-rw-r--r-- | src/lib/dhcpsrv/pgsql_lease_mgr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.h b/src/lib/dhcpsrv/pgsql_lease_mgr.h index 3abd14c9d1..e96cf885ce 100644 --- a/src/lib/dhcpsrv/pgsql_lease_mgr.h +++ b/src/lib/dhcpsrv/pgsql_lease_mgr.h @@ -613,6 +613,12 @@ public: /// @return number of leases removed. virtual size_t wipeLeases6(const SubnetID& subnet_id); + /// @brief Checks if JSON support is enabled in the database. + /// PostgreSQL implementation. + /// + /// @return true if there is JSON support, false otherwise + bool isJsonSupported() const override; + /// @brief Return backend type /// /// Returns the type of the backend (e.g. "mysql", "memfile" etc.) |