HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SQL.h File Reference
#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>
+ Include dependency graph for UT_SQL.h:
+ This graph shows which files directly or indirectly include this file:

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_ErrorCategoryUT::GetSqliteErrorCategory ()
 
UT_API const UT_ErrorCategoryUT::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
 

Macro Definition Documentation

#define NO_DISCARD   SYS_NO_DISCARD_RESULT

Definition at line 44 of file UT_SQL.h.

#define UT_SQL_ID   UT_SqlStatementHandleId(__FILE__, __LINE__)

Definition at line 136 of file UT_SQL.h.

Function Documentation

Definition at line 975 of file UT_SQL.h.

Definition at line 925 of file UT_SQL.h.

UT_API bool UTsqlBind ( UT_SqlStatement stmt,
int  idx,
const UT_ArrayStringSet aset 
)
UT_API UT_UniquePtr<UT_SqlBaseDriver> UTsqliteFactory ( )