61class database_backend;
76template<
typename F,
typename... Args>
83template<
typename F,
typename... Args>
85 std::is_void_v<std::invoke_result_t<F, Args...>>;
91template<
typename F,
typename R,
typename... Args>
93 std::convertible_to<std::invoke_result_t<F, Args...>, R>;
99template<
typename F,
typename... Args>
101 std::convertible_to<std::invoke_result_t<F, Args...>,
bool>;
107template<
typename F,
typename... Args>
109 std::is_nothrow_invocable_v<F, Args...>;
117 std::move_constructible<std::decay_t<F>>;
123template<
typename F,
typename R>
125 std::same_as<std::invoke_result_t<F>, R>;
146template<
typename F,
typename ResultType>
178 std::convertible_to<std::invoke_result_t<F>, std::unique_ptr<database_base>>;
194 std::convertible_to<std::invoke_result_t<F>, std::unique_ptr<core::database_backend>>;
212template<
typename F,
typename EventType>
227template<
typename F,
typename EventType>
285 std::is_default_constructible_v<T>;
302 { t.get() } -> std::convertible_to<database_base*>;
303 { t.is_valid() } -> std::convertible_to<bool>;
326template<
typename F,
typename... Args>
328 std::move_constructible<std::decay_t<F>>;
342template<
typename F,
typename... Args>
344 std::move_constructible<std::decay_t<F>>;
A callable suitable for async execution.
A callable that creates database backends.
A callable that represents a compensation (rollback) action.
A callable that creates database connections.
A type that wraps a database connection.
A callable suitable for delayed execution.
A callable that handles database errors.
A callable type that can be invoked with given arguments.
A callable type that is marked noexcept.
A type that can be managed by a pool.
A callable type that returns a boolean value.
A callable that handles query results.
A callable type that returns a value convertible to the specified type.
A callable that filters stream events.
A callable that handles stream events.
A callable suitable for submission to an async executor.
A callable that represents a transaction action.
A callable type that returns void when invoked.
A callable that returns void, suitable for fire-and-forget execution.