4#include "Stroika/Foundation/StroikaPreComp.h"
15using namespace Characters;
17using namespace Database;
18using namespace Database::SQL;
19using namespace Execution;
34 sb <<
"name: "sv << fName;
35 sb <<
", type: "sv <<
fType;
49 sb <<
"name: "sv << fName;
50 sb <<
", value: "sv << fValue;
62#if USE_NOISY_TRACE_IN_THIS_MODULE_
75#if USE_NOISY_TRACE_IN_THIS_MODULE_
80 ColumnDescription col0 =
GetColumns ()[restrictToColumn];
82 result += *o->Lookup (col0.fName);
89#if USE_NOISY_TRACE_IN_THIS_MODULE_
94 ColumnDescription col0 =
GetColumns ()[restrictToColumn1];
95 ColumnDescription col1 =
GetColumns ()[restrictToColumn2];
97 result += make_tuple (*o->Lookup (col0.fName), *o->Lookup (col1.fName));
103 size_t restrictToColumn2,
size_t restrictToColumn3)
105#if USE_NOISY_TRACE_IN_THIS_MODULE_
110 ColumnDescription col0 =
GetColumns ()[restrictToColumn1];
111 ColumnDescription col1 =
GetColumns ()[restrictToColumn2];
112 ColumnDescription col2 =
GetColumns ()[restrictToColumn3];
114 result += make_tuple (*o->Lookup (col0.fName), *o->Lookup (col1.fName), *o->Lookup (col2.fName));
124 for (
const auto& i : parameters) {
126 Bind (*i.fName, i.fValue);
129 Bind (idx, i.fValue);
139 for (
const auto& i : parameters) {
140 Bind (i.fKey, i.fValue);
146#if USE_NOISY_TRACE_IN_THIS_MODULE_
151 (void)_fRep->GetNextRow ();
156#if USE_NOISY_TRACE_IN_THIS_MODULE_
162 (void)_fRep->GetNextRow ();
167#if USE_NOISY_TRACE_IN_THIS_MODULE_
173 (void)_fRep->GetNextRow ();
182 sb <<
", Column-Descriptions: "sv <<
GetColumns ();
183 sb <<
", Original-SQL: "sv <<
GetSQL ();
Similar to String, but intended to more efficiently construct a String. Mutable type (String is large...
String is like std::u32string, except it is much easier to use, often much more space efficient,...
A generalization of a vector: a container whose elements are keyed by the natural numbers.
nonvirtual void Reset()
resets the prepared statement back to the beginning of its program (this does NOT clear bindings)
nonvirtual optional< Row > GetNextRow()
nonvirtual String ToString() const
nonvirtual String GetSQL(WhichSQLFlag whichSQL=WhichSQLFlag::eOriginal) const
nonvirtual Sequence< ColumnDescription > GetColumns() const
nonvirtual Sequence< ParameterDescription > GetParameters() const
nonvirtual Sequence< Row > GetAllRemainingRows()
Call GetNextRow () repeatedly, and accumulate Rows into a Sequence (
nonvirtual void Execute()
shared_lock< const AssertExternallySynchronizedMutex > ReadContext
Instantiate AssertExternallySynchronizedMutex::ReadContext to designate an area of code where protect...
unique_lock< AssertExternallySynchronizedMutex > WriteContext
Instantiate AssertExternallySynchronizedMutex::WriteContext to designate an area of code where protec...
Iterable<T> is a base class for containers which easily produce an Iterator<T> to traverse them.
nonvirtual String ToString() const
nonvirtual String ToString() const