![]() |
LeechCraft
0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
|
Namespaces | |
| PostgreSQL | |
| SQLite | |
Typedefs | |
| template<typename Seq , int Idx> | |
| using | ValueAtC_t = std::decay_t< decltype(Get< Idx >(std::declval< Seq >()))> |
| template<typename T > | |
| using | UnwrapIndirect_t = typename std::conditional_t< IsIndirect< T > {}, T, WrapDirect< T > >::value_type |
| template<typename L , typename R > | |
| using | EnableRelOp_t = std::enable_if_t< EitherIsExprTree< L, R >()> |
Functions | |
| bool | MatchesSchema (const QString &baseName, const QString &schema, QSqlDatabase &db) |
| template<size_t Idx, typename Seq > | |
| decltype(auto) constexpr | Get (const Seq &seq) |
| template<size_t Idx, typename Seq > | |
| decltype(auto) constexpr | Get (Seq &seq) |
| template<typename T , CtString str> | |
| consteval auto | MorphFieldName () |
| template<typename Seq , int Idx> | |
| consteval auto | GetFieldName () |
| template<auto Ptr> | |
| constexpr size_t | FieldIndex () noexcept |
| template<auto Ptr> | |
| constexpr auto | GetFieldNamePtr () noexcept |
| template<auto Ptr> | |
| constexpr auto | GetQualifiedFieldNamePtr () noexcept |
| template<typename T > | |
| QVariant | ToVariantF (const T &t) noexcept |
| template<size_t Ix, typename Seq > | |
| void | BindAtIndex (const Seq &seq, QSqlQuery &query, bool bindPrimaryKey) |
| template<typename Seq > | |
| auto | DoInsert (const Seq &seq, QSqlQuery &insertQuery, bool bindPrimaryKey) |
| template<typename Seq > | |
| consteval int | PKeyIndexUnsafe () |
| template<typename Seq > | |
| consteval int | PKeyIndex () |
| template<typename Seq > | |
| constexpr auto | HasAutogenPKey () noexcept |
| template<typename Seq > | |
| constexpr auto | ExtractConflictingFields (InsertAction::Replace::PKeyType) |
| template<typename Seq , auto... Ptrs> | |
| constexpr auto | ExtractConflictingFields (InsertAction::Replace::FieldsType< Ptrs... >) |
| template<typename T , size_t... Indices> | |
| T | InitializeFromQuery (const QSqlQuery &q, std::index_sequence< Indices... >, int startIdx) noexcept |
| template<ExprType Type> | |
| constexpr auto | TypeToSql () noexcept |
| constexpr bool | IsRelational (ExprType type) noexcept |
| template<ExprType Type, typename Seq , typename L , typename R > | |
| constexpr bool | Typecheck () |
| template<typename T > | |
| constexpr auto | AsLeafData (const T &node) noexcept |
| template<ExprType Type, typename L , typename R > | |
| auto | MakeExprTree (const L &left, const R &right) noexcept |
| template<typename L , typename R > | |
| constexpr bool | EitherIsExprTree () noexcept |
| template<typename L , typename R , typename = EnableRelOp_t<L, R>> | |
| auto | operator< (const L &left, const R &right) noexcept |
| template<typename L , typename R , typename = EnableRelOp_t<L, R>> | |
| auto | operator> (const L &left, const R &right) noexcept |
| template<typename L , typename R , typename = EnableRelOp_t<L, R>> | |
| auto | operator== (const L &left, const R &right) noexcept |
| template<typename L , typename R , typename = EnableRelOp_t<L, R>> | |
| auto | operator!= (const L &left, const R &right) noexcept |
| template<typename L , ExprType Op> | |
| auto | operator| (const L &left, InfixBinary< Op >) noexcept |
| template<typename L , ExprType Op, typename R > | |
| auto | operator| (const InfixBinaryProxy< L, Op > &left, const R &right) noexcept |
| template<typename L , typename R , typename = EnableRelOp_t<L, R>> | |
| auto | operator && (const L &left, const R &right) noexcept |
| template<typename L , typename R , typename = EnableRelOp_t<L, R>> | |
| auto | operator|| (const L &left, const R &right) noexcept |
| template<CtString BindPrefix, typename Seq , typename Tree > | |
| constexpr auto | ExprTreeToSql () noexcept |
| template<CtString BindPrefix, typename Seq , typename Tree > | |
| void | BindExprTree (const Tree &tree, QSqlQuery &query) |
| template<typename L , typename R , typename = std::enable_if_t<IsSelector<L> {} && IsSelector<R> {}>> | |
| SelectorUnion< L, R > | operator+ (L, R) noexcept |
| template<auto Ptr> | |
| auto | MemberFromVariant (const QVariant &var) noexcept |
| template<auto Ptr> | |
| auto | MakeIndexedQueryHandler (const QSqlQuery &q, int startIdx=0) noexcept |
| template<auto... Ptrs> | |
| auto | MakeIndexedQueryHandler (MemberPtrs< Ptrs... >, const QSqlQuery &q, int startIdx) noexcept |
| template<size_t RepIdx, size_t TupIdx, typename Tuple , typename NewType > | |
| decltype(auto) constexpr | GetReplaceTupleElem (Tuple &&tuple, NewType &&arg) noexcept |
| template<size_t RepIdx, typename NewType , typename Tuple , size_t... TupIdxs> | |
| constexpr auto | ReplaceTupleElemImpl (Tuple &&tuple, NewType &&arg, std::index_sequence< TupIdxs... >) noexcept |
| template<size_t RepIdx, typename NewType , typename... TupleArgs> | |
| constexpr auto | ReplaceTupleElem (std::tuple< TupleArgs... > &&tuple, NewType &&arg) noexcept |
| template<typename... LArgs, typename... RArgs> | |
| auto | Combine (std::tuple< LArgs... > &&left, std::tuple< RArgs... > &&right) noexcept |
| template<typename... LArgs, typename R > | |
| auto | Combine (std::tuple< LArgs... > &&left, const R &right) noexcept |
| template<typename L , typename... RArgs> | |
| auto | Combine (const L &left, std::tuple< RArgs... > &&right) noexcept |
| template<typename L , typename R > | |
| auto | Combine (const L &left, const R &right) noexcept |
| template<ResultBehaviour ResultBehaviour, typename ResList > | |
| decltype(auto) | HandleResultBehaviour (ResList &&list) noexcept |
| template<typename F , typename R > | |
| HandleSelectorResult (QString, F, R) -> HandleSelectorResult< F, R > | |
| template<typename L , typename O > | |
| constexpr auto | LimitOffsetToString () noexcept |
| template<typename L , typename O > | |
| void | BindLimitOffset (QSqlQuery &query, L limit, O offset) noexcept |
| constexpr auto | CombineBehaviour (ResultBehaviour l, ResultBehaviour r) noexcept |
| template<typename T , size_t... Fields> | |
| constexpr auto | ExtractConstraintFields (UniqueSubset< Fields... >) |
| template<typename T , size_t... Fields> | |
| constexpr auto | ExtractConstraintFields (PrimaryKey< Fields... >) |
| template<typename T > | |
| constexpr auto | GetConstraintsStrings () noexcept |
| template<typename ImplFactory , typename T , size_t... Indices> | |
| constexpr auto | GetTypes (std::index_sequence< Indices... >) noexcept |
| template<auto Name, typename ImplFactory , typename T > | |
| constexpr auto | AdaptCreateTableNamed () noexcept |
| template<typename ImplFactory , typename T > | |
| constexpr auto | AdaptCreateTable () noexcept |
Variables | |
| template<typename S > | |
| constexpr auto | SeqIndices = std::make_index_sequence<SeqSize<S>> {} |
| template<typename S > | |
| constexpr auto | FieldNames |
| template<typename S > | |
| constexpr auto | BoundFieldNames |
| template<typename S > | |
| constexpr auto | QualifiedFieldNames |
| template<typename T > | |
| concept | TypeNameCustomized = requires { typename T::TypeName; } |
| template<typename T > | |
| concept | BaseTypeCustomized = requires { typename T::BaseType; } |
| template<typename Seq > | |
| constexpr int | PKeyIndex_v = PKeyIndex<Seq> () |
| template<typename Seq > | |
| concept | HasPKey = PKeyIndexUnsafe<Seq> () >= 0 |
| constexpr auto | ConstTrueTree_v = ExprTree<ExprType::ConstTrue> {} |
| constexpr CountAll * | CountAllPtr = nullptr |
| using LC::Util::oral::detail::EnableRelOp_t = typedef std::enable_if_t<EitherIsExprTree<L, R> ()> |
| using LC::Util::oral::detail::UnwrapIndirect_t = typedef typename std::conditional_t<IsIndirect<T> {}, T, WrapDirect<T> >::value_type |
| using LC::Util::oral::detail::ValueAtC_t = typedef std::decay_t<decltype (Get<Idx> (std::declval<Seq> ()))> |
|
strong |
|
strong |
|
strong |
|
noexcept |
|
noexcept |
Definition at line 1594 of file oral.h.
References LC::Util::JoinTup(), and LC::Util::ZipWith().
Here is the call graph for this function:
|
noexcept |
Definition at line 722 of file oral.h.
Referenced by MakeExprTree(), and LC::Util::oral::detail::ExprTree< ExprType::LeafStaticPlaceholder, MemberPtrs< Ptr >, void >::operator=().
Here is the caller graph for this function:| void LC::Util::oral::detail::BindAtIndex | ( | const Seq & | seq, |
| QSqlQuery & | query, | ||
| bool | bindPrimaryKey | ||
| ) |
Definition at line 331 of file oral.h.
References LC::Util::ToString(), and ToVariantF().
Here is the call graph for this function:| void LC::Util::oral::detail::BindExprTree | ( | const Tree & | tree, |
| QSqlQuery & | query | ||
| ) |
Definition at line 896 of file oral.h.
Referenced by LC::Util::oral::detail::DeleteByFieldsWrapper< T >::operator()(), and LC::Util::oral::detail::AdaptUpdate< T >::operator()().
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
Definition at line 1068 of file oral.h.
Referenced by LC::Util::oral::detail::HandleSelector< T, SelectorUnion< L, R > >::Initializer().
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
| auto LC::Util::oral::detail::DoInsert | ( | const Seq & | seq, |
| QSqlQuery & | insertQuery, | ||
| bool | bindPrimaryKey | ||
| ) |
Definition at line 338 of file oral.h.
References LC::Util::DBLock::DumpError().
Referenced by LC::Util::oral::detail::AdaptUpdate< T >::operator()().
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
Definition at line 890 of file oral.h.
Referenced by LC::Util::oral::detail::DeleteByFieldsWrapper< T >::operator()(), and LC::Util::oral::detail::AdaptUpdate< T >::operator()().
Here is the caller graph for this function:| constexpr auto LC::Util::oral::detail::ExtractConflictingFields | ( | InsertAction::Replace::PKeyType | ) |
| constexpr auto LC::Util::oral::detail::ExtractConflictingFields | ( | InsertAction::Replace::FieldsType< Ptrs... > | ) |
| constexpr auto LC::Util::oral::detail::ExtractConstraintFields | ( | UniqueSubset< Fields... > | ) |
Definition at line 1562 of file oral.h.
References LC::Util::Join().
Here is the call graph for this function:| constexpr auto LC::Util::oral::detail::ExtractConstraintFields | ( | PrimaryKey< Fields... > | ) |
Definition at line 1568 of file oral.h.
References LC::Util::Join().
Here is the call graph for this function:
|
noexcept |
| decltype(auto) constexpr LC::Util::oral::detail::Get | ( | const Seq & | seq | ) |
| decltype(auto) constexpr LC::Util::oral::detail::Get | ( | Seq & | seq | ) |
|
noexcept |
Definition at line 1574 of file oral.h.
References LC::Util::requires().
Here is the call graph for this function:| consteval auto LC::Util::oral::detail::GetFieldName | ( | ) |
Definition at line 161 of file oral.h.
Referenced by LC::Util::oral::detail::AssignList< L, R >::ToSql(), and LC::Util::oral::detail::ExprTree< ExprType::LeafStaticPlaceholder, MemberPtrs< Ptr >, void >::ToSql().
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
| LC::Util::oral::detail::HandleSelectorResult | ( | QString | , |
| F | , | ||
| R | |||
| ) | -> HandleSelectorResult< F, R > |
|
noexcept |
|
noexcept |
Definition at line 505 of file oral.h.
References LC::Util::requires().
Here is the call graph for this function:
|
noexcept |
|
noexcept |
|
noexcept |
Definition at line 804 of file oral.h.
References AsLeafData().
Here is the call graph for this function:
|
noexcept |
Definition at line 999 of file oral.h.
Referenced by LC::Util::oral::detail::HandleSelector< T, MemberPtrs< Ptrs... > >::Initializer(), and MakeIndexedQueryHandler().
Here is the caller graph for this function:
|
noexcept |
Definition at line 1005 of file oral.h.
References MakeIndexedQueryHandler().
Here is the call graph for this function:| bool LC::Util::oral::detail::MatchesSchema | ( | const QString & | baseName, |
| const QString & | schema, | ||
| QSqlDatabase & | db | ||
| ) |
Definition at line 18 of file migrate.h.
References LC::Util::RunTextQuery().
Referenced by LC::Util::oral::Migrate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
| consteval auto LC::Util::oral::detail::MorphFieldName | ( | ) |
Definition at line 150 of file oral.h.
References LC::Util::requires().
Here is the call graph for this function:
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
| consteval int LC::Util::oral::detail::PKeyIndex | ( | ) |
| consteval int LC::Util::oral::detail::PKeyIndexUnsafe | ( | ) |
|
noexcept |
|
noexcept |
|
noexcept |
Definition at line 325 of file oral.h.
Referenced by BindAtIndex(), LC::Util::oral::detail::ExprTree< ExprType::LeafData, T, void >::BindValues(), and LC::Util::oral::detail::AdaptDelete< T >::operator()().
Here is the caller graph for this function:| constexpr bool LC::Util::oral::detail::Typecheck | ( | ) |
Definition at line 585 of file oral.h.
References IsRelational(), and LC::Util::requires().
Here is the call graph for this function:
|
noexcept |
| concept LC::Util::oral::detail::BaseTypeCustomized = requires { typename T::BaseType; } |
| constexpr auto LC::Util::oral::detail::BoundFieldNames |
| constexpr auto LC::Util::oral::detail::ConstTrueTree_v = ExprTree<ExprType::ConstTrue> {} |
Definition at line 801 of file oral.h.
Referenced by LC::Util::oral::detail::SelectWrapper< T, detail::SelectBehaviour::One >::Build(), and LC::Util::oral::detail::SelectWrapper< T, detail::SelectBehaviour::One >::operator()().
|
inline |
| constexpr auto LC::Util::oral::detail::FieldNames |
| concept LC::Util::oral::detail::HasPKey = PKeyIndexUnsafe<Seq> () >= 0 |
| constexpr int LC::Util::oral::detail::PKeyIndex_v = PKeyIndex<Seq> () |
| constexpr auto LC::Util::oral::detail::QualifiedFieldNames |
| constexpr auto LC::Util::oral::detail::SeqIndices = std::make_index_sequence<SeqSize<S>> {} |