HDK
|
#include "UT_API.h"
#include "UT_DateTimeField.h"
#include "UT_Debug.h"
#include "UT_Error.h"
#include "UT_ErrorCode.h"
#include "UT_SharedPtr.h"
#include "UT_StringHolder.h"
#include "UT_UniquePtr.h"
#include "UT_Function.h"
#include "UT_StringArray.h"
#include <SYS/SYS_Compiler.h>
#include <SYS/SYS_Inline.h>
#include <map>
#include <tuple>
#include <optional>
Go to the source code of this file.
Classes | |
struct | std::is_error_code_enum< UT::SqlError > |
class | UT_SqlStatementHandleId |
class | UT_SqlStatementImpl |
struct | UT_SqlStatementImpl::null_tag_t |
struct | UT_SqlStatementImpl::Blob |
class | UT_SqliteStatementImpl |
class | UT_SqlResult |
class | UT_SqlResult::iterator |
class | UT_SqlStatement |
class | UT_SqlBaseDriver |
class | UT_SqliteDriver |
class | UT_SqlDatabase |
class | UT_SqlTransaction |
class | UT_AutoSqlTransaction |
Namespaces | |
UT | |
std | |
std::hash specialization for UT_IntrusivePtr<T> | |
Macros | |
#define | NO_DISCARD SYS_NO_DISCARD_RESULT |
#define | UT_SQL_ID UT_SqlStatementHandleId(__FILE__, __LINE__) |
Enumerations | |
enum | UT::SqlError { UT::SqlError::UT_SQL_OK = 0, UT::SqlError::UT_SQL_HAS_STEPPED, UT::SqlError::UT_SQL_OUT_OF_RANGE, UT::SqlError::UT_SQL_CONSTRAINT, UT::SqlError::UT_SQL_DURABLE_TRANSACTION } |
Error codes to describe errors as a result of UT_SQL. More... | |
Functions | |
UT_API const UT_ErrorCategory & | UT::GetSqliteErrorCategory () |
UT_API const UT_ErrorCategory & | UT::GetSqlErrorCategory () |
UT_ErrorCode | UT::make_error_code (UT::SqlError e) |
template<> | |
UT_SqlStatement::null_tag_t | UT_SqlStatement::get< UT_SqlStatement::null_tag_t > (int idx) const |
template<> | |
UT_SqlStatement::Blob | UT_SqlStatement::get< UT_SqlStatement::Blob > (int idx) const |
UT_API UT_UniquePtr < UT_SqlBaseDriver > | UTsqliteFactory () |
UT_API bool | UTsqlBind (UT_SqlStatement &stmt, int idx, const UT_ArrayStringSet &aset) |
Variables | |
template<typename SqlT , typename T , typename = std::void_t<>> | |
constexpr bool | UT::has_sql_bind_v = false |
template<typename SqlT , typename T , typename = std::void_t<>> | |
constexpr bool | UT::has_sql_get_v = false |
template<typename SqlT , typename T , typename = std::void_t<>> | |
constexpr bool | UT::is_sql_type_v = false |
#define NO_DISCARD SYS_NO_DISCARD_RESULT |
#define UT_SQL_ID UT_SqlStatementHandleId(__FILE__, __LINE__) |
|
inline |
|
inline |
UT_API bool UTsqlBind | ( | UT_SqlStatement & | stmt, |
int | idx, | ||
const UT_ArrayStringSet & | aset | ||
) |
UT_API UT_UniquePtr<UT_SqlBaseDriver> UTsqliteFactory | ( | ) |