![]() |
LeechCraft
0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
|
Namespaces | |
detail | |
sph | |
Classes | |
struct | FromVariant |
struct | IsIndirect |
struct | IsIndirect< NotNull< T > > |
struct | IsIndirect< PKey< T, Args... > > |
struct | IsIndirect< References< Ptr > > |
struct | IsIndirect< Unique< T > > |
struct | NotNull |
struct | ObjectInfo |
struct | PKey |
struct | PrimaryKey |
class | QueryException |
struct | References |
struct | ToVariant |
struct | Type2Name |
struct | Type2Name< NotNull< T > > |
struct | Type2Name< PKey< int, Tags... > > |
struct | Type2Name< PKey< T, Tags... > > |
struct | Type2Name< References< Ptr > > |
struct | Type2Name< Unique< T > > |
struct | Unique |
struct | UniqueSubset |
Typedefs | |
template<typename T > | |
using | ObjectInfo_ptr = std::shared_ptr< ObjectInfo< T > > |
template<typename T , typename... Args> | |
using | PKeyValue_t = typename PKey< T, Args... >::value_type |
template<typename T > | |
using | UniqueValue_t = typename Unique< T >::value_type |
template<typename T > | |
using | NotNullValue_t = typename NotNull< T >::value_type |
template<auto Ptr> | |
using | ReferencesValue_t = typename References< Ptr >::value_type |
template<typename... Args> | |
using | Constraints = Typelist< Args... > |
Enumerations | |
enum | InsertAction { InsertAction::Default, InsertAction::Ignore, InsertAction::Replace } |
Functions | |
template<typename Record > | |
void | Migrate (QSqlDatabase &db) |
template<typename T > | |
ObjectInfo< T > | Adapt (const QSqlDatabase &db) |
template<typename T > | |
ObjectInfo_ptr< T > | AdaptPtr (const QSqlDatabase &db) |
template<typename T , typename... Args> | |
char * | toString (const PKey< T, Args... > &pkey) |
Variables | |
constexpr size_t | InsertActionCount = 3 |
using LeechCraft::Util::oral::Constraints = typedef Typelist<Args...> |
Definition at line 216 of file oraltypes.h.
using LeechCraft::Util::oral::NotNullValue_t = typedef typename NotNull<T>::value_type |
Definition at line 149 of file oraltypes.h.
using LeechCraft::Util::oral::ObjectInfo_ptr = typedef std::shared_ptr<ObjectInfo<T> > |
using LeechCraft::Util::oral::PKeyValue_t = typedef typename PKey<T, Args...>::value_type |
Definition at line 81 of file oraltypes.h.
using LeechCraft::Util::oral::ReferencesValue_t = typedef typename References<Ptr>::value_type |
Definition at line 207 of file oraltypes.h.
using LeechCraft::Util::oral::UniqueValue_t = typedef typename Unique<T>::value_type |
Definition at line 115 of file oraltypes.h.
|
strong |
ObjectInfo<T> LeechCraft::Util::oral::Adapt | ( | const QSqlDatabase & | db | ) |
Definition at line 1251 of file oral.h.
References LeechCraft::Util::RunTextQuery().
ObjectInfo_ptr<T> LeechCraft::Util::oral::AdaptPtr | ( | const QSqlDatabase & | db | ) |
void LeechCraft::Util::oral::Migrate | ( | QSqlDatabase & | db | ) |
Definition at line 65 of file migrate.h.
References LeechCraft::Util::oral::sph::fields, LeechCraft::Util::DBLock::Init(), LeechCraft::Util::oral::detail::MatchesSchema(), and LeechCraft::Util::RunTextQuery().
char* LeechCraft::Util::oral::toString | ( | const PKey< T, Args... > & | pkey | ) |
Definition at line 47 of file common.h.
References toString(), and LeechCraft::Util::oral::PKey< T, Tags >::Val_.